Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
geni-lib
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
emulab
geni-lib
Commits
b77b69f8
Commit
b77b69f8
authored
9 years ago
by
Nick Bastin
Browse files
Options
Downloads
Patches
Plain Diff
Update vagrantfile for optional keys
parent
6adc3d65
Branches
20160106-vagrant
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
support/Vagrantfile
+11
-2
11 additions, 2 deletions
support/Vagrantfile
with
11 additions
and
2 deletions
support/Vagrantfile
+
11
−
2
View file @
b77b69f8
...
...
@@ -20,8 +20,17 @@ Vagrant.configure(2) do |config|
sudo python setup.py install
if [ -f /vagrant/omni.bundle ]
then
echo "/vagrant/omni.bundle exists. Configuring geni-lib."
sudo -u vagrant /usr/local/bin/context-from-bundle --bundle /vagrant/omni.bundle
echo "/vagrant/omni.bundle exists. Configuring geni-lib."
PARMS=(--bundle /vagrant/omni.bundle)
if [ -f /vagrant/cert.key ]
then
PARMS+=(--cert-private-key /vagrant/cert.key)
fi
if [ -f /vagrant/ssh.pubkey ]
then
PARMS+=(--pubkey /vagrant/ssh.pubkey)
fi
sudo -u vagrant /usr/local/bin/context-from-bundle "${PARMS[@]}"
fi
mkdir -p ~/notebooks
mkdir -p ~/.ipython/extensions
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment