summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-03-12 15:22:23 +1100
committerMartin Schwenke <martin@meltin.net>2013-03-12 15:57:47 +1100
commit78728fb1534842d127e9665f4dabee36f0ef215a (patch)
tree7624e5151bd489176d49630333024018feefd705 /templates
parent0a6d897bdaf009f6e441dd8cb282624c3e05a975 (diff)
downloadautocluster-78728fb1534842d127e9665f4dabee36f0ef215a.tar.gz
autocluster-78728fb1534842d127e9665f4dabee36f0ef215a.tar.xz
autocluster-78728fb1534842d127e9665f4dabee36f0ef215a.zip
Fix NETWORKS configuration to support non-standard interface names
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/bootbase.xml11
1 files changed, 1 insertions, 10 deletions
diff --git a/templates/bootbase.xml b/templates/bootbase.xml
index 6bbd457..3824c50 100644
--- a/templates/bootbase.xml
+++ b/templates/bootbase.xml
@@ -23,16 +23,7 @@
<target dev='@@SYSTEM_DISK_PREFIX@@a' bus='@@SYSTEM_DISK_TYPE@@'/>
<driver name='qemu' type='@@SYSTEM_DISK_FORMAT@@' cache='@@SYSTEM_DISK_CACHE@@'/>
</disk>
- <interface type='network'>
- <mac address='00:00:00:00:00:01'/>
- <model type='@@NICMODEL@@'/>
- <source network='net1'/>
- </interface>
- <interface type='network'>
- <mac address='00:00:00:00:00:02'/>
- <model type='@@NICMODEL@@'/>
- <source network='net2'/>
- </interface>
+@@@NETWORK_TEMPLATE@@@
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' listen='127.0.0.1'/>
<serial type="file">