Commit 8062e7fe authored by Jonathan Bryant's avatar Jonathan Bryant 💬

Update distro.sh

parent 4a3774a2
......@@ -14,7 +14,7 @@ check_penguin() {
if [ -n "$(/usr/bin/lxc ls | /bin/grep 'penguin | STOPPED')" ]; then
start_old_penguin
elif [ -n "$(/usr/bin/lxc ls | /bin/grep 'penguin | RUNNING')" ]; then
# Do nothing. This is a good thing.
echo "Penguin is running."
elif [ -n "$(/usr/bin/lxc ls | /bin/grep 'oldpenguin')" ]; then
/usr/bin/lxc stop oldpenguin -f || true
/usr/bin/lxc rename oldpenguin penguin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment