Signed-off-by: Steven Dake <sdake@redhat.com>
action=$1
if [ -z "$action" ]
then
- action="start"
+ echo "openstack [start|stop|install|erase]"
+ echo ""
+ echo "This tool is designed to control OpenStack on a Fedora 16/17 system"
+ echo ""
+ echo "start - Starts OpenStack"
+ echo "stop - Stops OpenStack"
+ echo "install - Installs a fresh OpenStack system with Keystone from your repos"
+ echo "erase - permanently destroys an existing installation of OpenStack"
fi
function os_start() {
}
case $action in
+ "")
+ ;;
start)
os_start
;;
os_install
;;
*)
- echo "no action $action"
+ echo "The action \"$action\" is not supported."
;;
esac