diff --git a/umbrel-dev b/umbrel-dev index 41ab520..0a4b975 100755 --- a/umbrel-dev +++ b/umbrel-dev @@ -46,6 +46,11 @@ boot() { vagrant up } +# Halt the development VM +halt() { + vagrant halt +} + # Show help text if no args set or help is called if [[ -z ${1+x} ]] || [[ "$1" = "help" ]]; then show_help @@ -67,3 +72,10 @@ if [[ "$1" = "boot" ]]; then boot exit fi + +# Halt +if [[ "$1" = "halt" ]]; then + shift + halt + exit +fi