systemvmtemplate: Bigger partition size and ambiguous redirect bugfix (#2832)

Fix partition sizes to allow the building of systemvmtemplate, and fix ambiguous redirect fix.
This commit is contained in:
Dennis Konrad 2018-08-31 13:47:51 +02:00 committed by Rohit Yadav
parent 3212ce51e7
commit 263559c19e
3 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ cd ${CLOUDSTACK_DIR}/systemvm/debian
tar -cf ${TEMP_DIR}/cloud_scripts/usr/share/cloud/cloud-scripts.tar * tar -cf ${TEMP_DIR}/cloud_scripts/usr/share/cloud/cloud-scripts.tar *
cd ${TEMP_DIR} cd ${TEMP_DIR}
shar `find . -print` > ${CURR_DIR}/cloud_scripts_shar_archive.sh shar `find . -print` > "${CURR_DIR}"/cloud_scripts_shar_archive.sh
cd ${CURR_DIR} cd ${CURR_DIR}
rm -rf ${TEMP_DIR} rm -rf ${TEMP_DIR}

View File

@ -54,13 +54,13 @@ d-i partman-auto/disk string /dev/vda
d-i partman-auto/method string regular d-i partman-auto/method string regular
d-i partman-auto/expert_recipe string \ d-i partman-auto/expert_recipe string \
boot-root :: \ boot-root :: \
60 60 60 ext2 \ 100 60 100 ext2 \
$primary{ } $bootable{ } \ $primary{ } $bootable{ } \
method{ format } format{ } \ method{ format } format{ } \
use_filesystem{ } filesystem{ ext2 } \ use_filesystem{ } filesystem{ ext2 } \
mountpoint{ /boot } \ mountpoint{ /boot } \
. \ . \
975 40 1000 ext4 \ 1175 40 1200 ext4 \
method{ format } format{ } \ method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \ use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \ mountpoint{ / } \

View File

@ -32,7 +32,7 @@
[ "-m", "512M" ], [ "-m", "512M" ],
[ "-smp", "cpus=1,maxcpus=1,cores=1" ] [ "-smp", "cpus=1,maxcpus=1,cores=1" ]
], ],
"disk_size": 1800, "disk_size": 2000,
"format": "qcow2", "format": "qcow2",
"disk_interface": "virtio", "disk_interface": "virtio",