summaryrefslogtreecommitdiffstats
path: root/templates/node.xml
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2009-08-13 13:36:43 +1000
committerMartin Schwenke <martin@meltin.net>2009-08-13 13:36:43 +1000
commitc5b7e1cd4495be2020a3a53d59a90ed7781e6e6e (patch)
tree09130efc1d47bbf2d58567f73bd70bb6a635a600 /templates/node.xml
parentc2b555a65e76742e025e75d785e2ce2f16f3f0df (diff)
downloadautocluster-c5b7e1cd4495be2020a3a53d59a90ed7781e6e6e.tar.gz
autocluster-c5b7e1cd4495be2020a3a53d59a90ed7781e6e6e.tar.xz
autocluster-c5b7e1cd4495be2020a3a53d59a90ed7781e6e6e.zip
Parameterise disk type and the corresponding device file prefix.
The version of kvm under RHEL5.4 does not support the SCSI emulation. So allow the use of ide or virtio instead. Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'templates/node.xml')
-rw-r--r--templates/node.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/node.xml b/templates/node.xml
index 6c4b019..c75e12b 100644
--- a/templates/node.xml
+++ b/templates/node.xml
@@ -20,7 +20,7 @@
<emulator>@@KVM@@</emulator>
<disk type='file' device='disk'>
<source file='@@DISK@@'/>
- <target dev='sda' bus='scsi'/>
+ <target dev='@@DISK_PREFIX@@a' bus='@@DISK_TYPE@@'/>
</disk>
@@@SHAREDDISK_TEMPLATE@@@
<interface type='network'>