Skip to content
Snippets Groups Projects
Commit 54cc601e authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Adding the steps of generateing ssh key in tools/init-runonce"

parents b177f04f 3e5e7f27
No related branches found
No related tags found
No related merge requests found
...@@ -71,6 +71,10 @@ else ...@@ -71,6 +71,10 @@ else
neutron security-group-rule-create default --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 8080 --port-range-max 8080 --remote-ip-prefix 0.0.0.0/0 neutron security-group-rule-create default --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 8080 --port-range-max 8080 --remote-ip-prefix 0.0.0.0/0
fi fi
if [ ! -f ~/.ssh/id_rsa.pub ]; then
echo Generating ssh key.
ssh-keygen -t rsa -f ~/.ssh/id_rsa
fi
if [ -r ~/.ssh/id_rsa.pub ]; then if [ -r ~/.ssh/id_rsa.pub ]; then
echo Configuring nova public key and quotas. echo Configuring nova public key and quotas.
nova keypair-add --pub-key ~/.ssh/id_rsa.pub mykey nova keypair-add --pub-key ~/.ssh/id_rsa.pub mykey
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment