File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,9 +21,8 @@ if ! "$CONTRIB_DIR/check-deis-deps.sh"; then
2121 exit 1
2222fi
2323
24- # check for knife-rackspace
25- if ! knife rackspace server list > /dev/null; then
26- echo ' Please install the knife-rackspace Ruby gem and configure knife.rb.'
24+ if ! nova --version > /dev/null 2>&1 ; then
25+ echo " Please install nova using 'pip install python-novaclient'."
2726 exit 1
2827fi
2928
7473
7574# upload the user's SSH key to Rackspace.
7675# if it fails, that means that it's already been uploaded.
77- nova keypair-add --pub-key $ssh_key_path .pub deis > /dev/null 2>&1
76+ echo " uploading keypair to Rackspace, please wait"
77+ if ! nova keypair-add --pub-key $ssh_key_path .pub deis > /dev/null; then
78+ echo " keypair already uploaded to Rackspace. Skipping."
79+ fi
7880
7981# create data bags
8082knife data bag create deis-formations 2> /dev/null
You can’t perform that action at this time.
0 commit comments