|
@ -46,6 +46,11 @@ boot() { |
|
|
vagrant up |
|
|
vagrant up |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Halt the development VM |
|
|
|
|
|
halt() { |
|
|
|
|
|
vagrant halt |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
# Show help text if no args set or help is called |
|
|
# Show help text if no args set or help is called |
|
|
if [[ -z ${1+x} ]] || [[ "$1" = "help" ]]; then |
|
|
if [[ -z ${1+x} ]] || [[ "$1" = "help" ]]; then |
|
|
show_help |
|
|
show_help |
|
@ -67,3 +72,10 @@ if [[ "$1" = "boot" ]]; then |
|
|
boot |
|
|
boot |
|
|
exit |
|
|
exit |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Halt |
|
|
|
|
|
if [[ "$1" = "halt" ]]; then |
|
|
|
|
|
shift |
|
|
|
|
|
halt |
|
|
|
|
|
exit |
|
|
|
|
|
fi |
|
|