Skip to content

Commit

Permalink
Fixed keypair scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
beloglazov committed Jul 13, 2012
1 parent 6b24c25 commit b7571d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .gitignore
@@ -1,3 +1 @@
openstack/bridge/configrc
openstack/controller/configrc
openstack/controller/keystone-admin-token
config/test.pem
4 changes: 2 additions & 2 deletions 11-opestack-controller/01-keypair-add.sh
@@ -1,4 +1,4 @@
#!/bin/sh

nova keypair-add test > test.pem
chmod 600 test.pem
nova keypair-add test > ../config/test.pem
chmod 600 ../config/test.pem
5 changes: 3 additions & 2 deletions 11-opestack-controller/04-ssh-ubuntu-vm.sh
@@ -1,4 +1,5 @@
#!/bin/sh

# this script accepts an ip address of the instance as a parameter
ssh -i test.pem -l ubuntu $1
# This script accepts the IP address of the instance as a parameter

ssh -i ../config/test.pem -l ubuntu $1

0 comments on commit b7571d8

Please sign in to comment.