Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
powder-vpn
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
David Johnson
powder-vpn
Commits
b82c5e67
Commit
b82c5e67
authored
Aug 29, 2018
by
David Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure Emulab virt control routing hack works both ways.
parent
f8f016fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
bin/setup-driver.sh
bin/setup-driver.sh
+6
-3
No files found.
bin/setup-driver.sh
View file @
b82c5e67
...
...
@@ -21,9 +21,12 @@ fi
logtstart
"driver"
# Hack for Emulab
grep
-q
155.98 /var/emulab/boot/bossip
\
&&
ip
-br
address show eth0 |
grep
'172\.'
\
&&
route add
-net
155.98.36.0/22 dev eth0
grep
-q
155.98 /var/emulab/boot/bossip
if
[
$?
-eq
0
]
;
then
controlif
=
`
cat
/var/emulab/boot/controlif
`
ip route add 155.98.36.0/22 dev
$controlif
ip route add 172.16.0.0/12 dev
$controlif
fi
echo
"*** Setting up root ssh pubkey access across all nodes..."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment