small change in createhdds.sh

This commit is contained in:
Garret Raziel 2015-03-18 13:43:40 +01:00
parent 6a47d2f426
commit 9a2e608395

View File

@ -27,11 +27,11 @@ mount /dev/sda1 /
write /testfile "Hello, world!" write /testfile "Hello, world!"
_EOF_ _EOF_
echo "Creating fedora21.img..." echo "Creating disk_f21_minimal.img..."
# TODO: it should be possible to create updated image, but there is a bug, see https://bugzilla.redhat.com/show_bug.cgi?id=1084221 # TODO: it should be possible to create updated image, but there is a bug, see https://bugzilla.redhat.com/show_bug.cgi?id=1084221
# so you are required to manually boot this image and run 'yum -y update' # so you are required to manually boot this image and run 'yum -y update'
#virt-builder fedora-21 -o fedora21.img --update --selinux-relabel --root-password password:weakpassword #virt-builder fedora-21 -o disk_f21_minimal.img --update --selinux-relabel --root-password password:weakpassword
virt-builder fedora-21 -o fedora21.img --root-password password:weakpassword virt-builder fedora-21 -o disk_f21_minimal.img --root-password password:weakpassword
echo "Creating disk_ks.img..." echo "Creating disk_ks.img..."
curl -o "/tmp/root-user-crypted-net.ks" "https://jskladan.fedorapeople.org/kickstarts/root-user-crypted-net.ks" curl -o "/tmp/root-user-crypted-net.ks" "https://jskladan.fedorapeople.org/kickstarts/root-user-crypted-net.ks"