Skip to content
Snippets Groups Projects
Commit 7bbaa261 authored by Raphael Storm Larsen's avatar Raphael Storm Larsen
Browse files

Changed production.sh

parent 294b6f61
No related branches found
No related tags found
No related merge requests found
......@@ -11,14 +11,12 @@ then
openstack server remove floating ip www3 $floatingIp
openstack server add floating ip balancer $floatingIp
discord_log "Bookface has reinstated production"
echo "Bookface has succcessfully reinstated production"
elif [[ $1 == "down" ]]
then
openstack server remove floating ip balancer $floatingIp
openstack server add floating ip $fallBackName $floatingIp
discord_log "Bookface has closed production"
echo "Bookface has succcessfully closed production"
else
echo "Error: Invalid argument \"$1\""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment