Code Review
/
groupbasedpolicy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
added demos to the repo
[groupbasedpolicy.git]
/
demos
/
gbpsfc-env
/
utils
/
setuphosts.sh
diff --git a/demos/gbpsfc-env/utils/setuphosts.sh
b/demos/gbpsfc-env/utils/setuphosts.sh
new file mode 100644
(file)
index 0000000..
2a73259
--- /dev/null
+++ b/
demos/gbpsfc-env/utils/setuphosts.sh
@@ -0,0
+1,11
@@
+#!/usr/bin/env bash
+
+set -e
+
+for i in `seq 1 $NUM_NODES`; do
+ hostname="gbpsfc"$i
+ echo $hostname
+ vagrant ssh $hostname -c "sudo cp /vagrant/utils/hosts /etc/hosts"
+done
+
+