|
@ -51,6 +51,11 @@ halt() { |
|
|
vagrant halt |
|
|
vagrant halt |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Destroy the development VM |
|
|
|
|
|
destroy() { |
|
|
|
|
|
vagrant destroy |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
# 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 |
|
@ -79,3 +84,10 @@ if [[ "$1" = "halt" ]]; then |
|
|
halt |
|
|
halt |
|
|
exit |
|
|
exit |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Destroy |
|
|
|
|
|
if [[ "$1" = "destroy" ]]; then |
|
|
|
|
|
shift |
|
|
|
|
|
destroy |
|
|
|
|
|
exit |
|
|
|
|
|
fi |
|
|