forked from openstack/nova
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After seeing it on GitHub I just couldn't stand seeing the private SS…
…H key checked in, even temporarily, so I'm removing it. For now we'll have to remember to generate this before running everything, and there's an error message if we forget (on the host VM at least).
- Loading branch information
Showing
4 changed files
with
11 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,4 @@ contrib/tty.tgz | |
*.sqlite | ||
vagrantup.* | ||
.apitoken | ||
integration/vagrant/common/ssh/id_rsa* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This is meant to be called from the volume box. | ||
if [ ! -f /vagrant-common/ssh/id_rsa ] || [ ! -f /vagrant-common/ssh/id_rsa.pub ] | ||
then | ||
echo 'Missing ssh key. Use ssh-keygen to create key at /vagrant-common/ssh/ (leave options such as passphrase empty).' | ||
exit 1 | ||
fi | ||
cp /vagrant-common/ssh/id_rsa.pub /home/vagrant/.ssh/id_rsa.pub | ||
cp /vagrant-common/ssh/id_rsa /home/vagrant/.ssh/id_rsa | ||
sudo cp /vagrant-common/ssh/id_rsa.pub /root/.ssh/id_rsa.pub | ||
sudo cp /vagrant-common/ssh/id_rsa.pub /root/.ssh/id_rsa |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.