diff --git a/bin/deploy.sh b/bin/deploy.sh index dc246b4..1dc2138 100755 --- a/bin/deploy.sh +++ b/bin/deploy.sh @@ -24,4 +24,4 @@ else fi echo "--- Deploying $1" -nixops deploy -d $* --allow-reboot +nixops deploy -k -d $* --allow-reboot diff --git a/bin/teardown.sh b/bin/teardown.sh index 2907ab6..e73ded9 100755 --- a/bin/teardown.sh +++ b/bin/teardown.sh @@ -2,7 +2,7 @@ TOP="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/.." -case $* in +case $1 in --reboot) reboot=1; shift ;; esac