diff options
| author | Martin Schwenke <martin@meltin.net> | 2008-07-11 12:14:13 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2008-07-11 12:14:13 +1000 |
| commit | 98269bfc6c10dbf8203dce5e9d05ecb8e99abf25 (patch) | |
| tree | f0772adafeb043a8c8e7470002c8a7ff054059a8 /create_node.sh | |
| parent | f77931b35e4d91ad2291bbf4b0323457fd75c91d (diff) | |
| parent | e25eb155b3e696d9f33403930de83ab80f23c739 (diff) | |
Merge commit 'origin/master' into for-tridge
Diffstat (limited to 'create_node.sh')
| -rwxr-xr-x | create_node.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/create_node.sh b/create_node.sh index 85e7b94..9e02bce 100755 --- a/create_node.sh +++ b/create_node.sh @@ -40,12 +40,12 @@ unmount_disk mkdir -p tmp MAC1=`get_macaddr $CLUSTER $NODENUMBER 1` -MAC2=`get_macaddr $CLUSTER $NODENUMBER 1` -MAC3=`get_macaddr $CLUSTER $NODENUMBER 1` +MAC2=`get_macaddr $CLUSTER $NODENUMBER 2` +MAC3=`get_macaddr $CLUSTER $NODENUMBER 3` UUID=`uuidgen` echo "Creating $NAME.xml" -substitute_vars templates/node.xml tmp/$NAME.xml +substitute_vars $NODE_TEMPLATE tmp/$NAME.xml # install the XML file virsh undefine $NAME > /dev/null 2>&1 || true |
