Perry Myers
2008-Nov-09 07:48 UTC
[Ovirt-devel] [PATCH appliance] Create separate data disk for storing iSCSI and NFS for appliance
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 7ecfb6d..d7e0892 100644 --- a/ovirt-appliance.ks +++ b/ovirt-appliance.ks @@ -11,16 +11,13 @@ services --disabled=libvirtd,postgresql --enabled=network,tgtd,nfs,iptables 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
Alan Pevec
2008-Nov-10 17:23 UTC
[Ovirt-devel] Re: [PATCH appliance] Create separate data disk for storing iSCSI and NFS for appliance
ACK virt-image XML has storage/disk at use='scratch' attribute which could be used here for sdb, but then we would need firstboot logic to initialize it (mkfs, mkdirs etc.) Maybe not worth it, since sdb disk-image is <100kB compressed in ZIP archive.