You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install knife-rackspace with gem install knife-rackspace or just bundle install from the root directory of your deis repository:
$ cd$HOME/projects/deis
$ gem install knife-rackspaceFetching: knife-rackspace-0.8.1.gem (100%)Successfully installed knife-rackspace-0.8.11 gem installedInstalling ri documentation for knife-rackspace-0.8.1...Installing RDoc documentation for knife-rackspace-0.8.1...
Export your Rackspace credentials as environment variables and edit knife.rb to read them:
$ cat <<'EOF' >> $HOME/.bash_profileexport RACKSPACE_USERNAME=<your_rackspace_username>export RACKSPACE_API_KEY=<your_rackspace_api_key>EOF
$ source$HOME/.bash_profile
$ cat <<'EOF' >> $HOME/.chef/knife.rbknife[:rackspace_api_username] = "#{ENV['RACKSPACE_USERNAME']}"knife[:rackspace_api_key] = "#{ENV['RACKSPACE_API_KEY']}"EOF
$ knife rackspace server listInstance ID Name Public IP Private IP Flavor Image State
Prepare an new image.
This will be used as the image to create a new controller as well as new nodes in a formation.