projects
/
snf-network
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
123b758
)
Fix a bug in snf-network-build-node-infra
author
Dimitris Aragiorgis
<dimara@grnet.gr>
Tue, 10 Jul 2012 12:31:53 +0000
(15:31 +0300)
committer
Dimitris Aragiorgis
<dimara@grnet.gr>
Tue, 10 Jul 2012 12:31:53 +0000
(15:31 +0300)
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
snf-network-build-node-infra
patch
|
blob
|
history
diff --git
a/snf-network-build-node-infra
b/snf-network-build-node-infra
index
bb86a9e
..
29b0612
100755
(executable)
--- a/
snf-network-build-node-infra
+++ b/
snf-network-build-node-infra
@@
-7,13
+7,15
@@
source $CONF
case $SETUP in
GRNET)
- DEFINFRA=/etc/snf-network/grnet.conf
+ INFRA=/etc/snf-network/grnet.conf
;;
GENERIC)
- DEFINFRA=/etc/snf-network/generic.conf
+ INFRA=/etc/snf-network/generic.conf
;;
esac
+source $INFRA
+
HOSTINFRA=$STATE_DIR/infra
NODE_IFACE=$(ip route | grep default | awk '{print $5}')
@@
-23,7
+25,7
@@
NODE_GW=$(ip route | grep default | awk '{print $3}')
(
-cat $DEFINFRA
+cat $INFRA
echo
echo "# node's interface"