[Ovirt-devel] [PATCH appliance] Create separate data disk for storing iSCSI and NFS for appliance
Perry Myers
pmyers at redhat.com
Fri Nov 14 22:06:53 UTC 2008
Signed-off-by: Perry Myers <pmyers at redhat.com>
---
ovirt-appliance.ks | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/ovirt-appliance.ks b/ovirt-appliance.ks
index 3613a53..69286fb 100644
--- a/ovirt-appliance.ks
+++ b/ovirt-appliance.ks
@@ -15,16 +15,13 @@ services --disabled=libvirtd,postgresql --enabled=network,tgtd,nfs,iptables,ntpd
timezone --utc UTC
text
-bootloader --location=mbr --driveorder=sda --append="console=tty0 console=ttyS0,115200"
-# The following is the partition information you requested
-# Note that any partitions you deleted are not expressed
-# here so unless you clear all partitions first, this is
-# not guaranteed to work
+bootloader --location=mbr --driveorder=sda,sdb --append="console=tty0 console=ttyS0,115200"
zerombr
-clearpart --all --drives=sda
+clearpart --all --drives=sda,sdb
part /boot --ondisk=sda --fstype=ext3 --size=100
-part / --ondisk=sda --fstype=ext3 --size=20000
+part / --ondisk=sda --fstype=ext3 --size=2000
part swap --ondisk=sda --fstype=swap --size=512
+part /mnt/data --ondisk=sdb --fstype=ext3 --size=20000
reboot
network --device=eth1 --bootproto=static --ip=192.168.50.2 --netmask=255.255.255.0 --onboot=on --nameserver=192.168.50.2 --hostname=management.priv.ovirt.org
--
1.6.0.3
More information about the ovirt-devel
mailing list