Improve scritps
This commit is contained in:
@@ -24,4 +24,4 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "--- Deploying $1"
|
echo "--- Deploying $1"
|
||||||
nixops deploy -d $* --allow-reboot
|
nixops deploy -k -d $* --allow-reboot
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
TOP="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/.."
|
TOP="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )/.."
|
||||||
|
|
||||||
case $* in
|
case $1 in
|
||||||
--reboot) reboot=1; shift ;;
|
--reboot) reboot=1; shift ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user