rcbops / opencenter

http://www.rackspace.com/cloud/private/openstack_software/
Other
9 stars 12 forks source link

[DE73]: Install script bug #482

Closed rpawlik closed 11 years ago

rpawlik commented 11 years ago

When installing the OC agent using the bash installer, it's not parsing options correctly:

root@chef-server:~# ./install.sh --role=agent -i 10.240.0.243 Invalid IP specified - exiting usage: ./install.sh options

This script will install opencenter packages.

OPTIONS: -h --help Show this message -v --verbose Verbose output -V --version Output the version of this script

ARGUMENTS: -r --role=[agent | server | dashboard] Specify the role of the node - defaults to "agent" -i --ip= Specify the Opencenter Server IP - defaults to "0.0.0.0" -p --password= Specify the Opencenter Server Password - defaults to "password" -rr --rerun Removes packages and reinstalls them Can be used to adjust IP/password information

-i=10.240.0.243 and --ip=10.240.0.243 works.

hughsaunders commented 11 years ago

This is a help string bug, it is expected that short args require equals.

hughsaunders commented 11 years ago

After a small kerfuffle with RallyIDs, this is now fixed in sprint.