summaryrefslogtreecommitdiffstats
path: root/templates/node.xml
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-03-05 11:36:16 +1100
committerMartin Schwenke <martin@meltin.net>2013-03-05 15:07:36 +1100
commit0a6d897bdaf009f6e441dd8cb282624c3e05a975 (patch)
treeafa9e2a6cf8b1b397d1000c8372cdf5fd24eadcb /templates/node.xml
parenta5f51d7274c8ce32905b05a4ff99f810f768e1c0 (diff)
downloadautocluster-0a6d897bdaf009f6e441dd8cb282624c3e05a975.tar.gz
autocluster-0a6d897bdaf009f6e441dd8cb282624c3e05a975.tar.xz
autocluster-0a6d897bdaf009f6e441dd8cb282624c3e05a975.zip
New configuration variable NETWORKS - IPBASE, IPNET* no longer used
Much more flexible network configuration. Replace canned host_setup/etc/libvirt/qemu/networks/*.xml with setup_networks.sh script. Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'templates/node.xml')
-rw-r--r--templates/node.xml16
1 files changed, 1 insertions, 15 deletions
diff --git a/templates/node.xml b/templates/node.xml
index d5bc4bc..7e7779d 100644
--- a/templates/node.xml
+++ b/templates/node.xml
@@ -24,21 +24,7 @@
<driver name='qemu' type='@@SYSTEM_DISK_FORMAT@@' cache='@@SYSTEM_DISK_CACHE@@'/>
</disk>
@@@SHAREDDISK_TEMPLATE@@@
- <interface type='network'>
- <mac address='@@MAC1@@'/>
- <model type='@@NICMODEL@@'/>
- <source network='net1'/>
- </interface>
- <interface type='network'>
- <mac address='@@MAC2@@'/>
- <model type='@@NICMODEL@@'/>
- <source network='net2'/>
- </interface>
- <interface type='network'>
- <mac address='@@MAC3@@'/>
- <model type='@@NICMODEL@@'/>
- <source network='net3'/>
- </interface>
+@@@NETWORK_TEMPLATE@@@
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' listen='127.0.0.1'/>
<serial type="file">