summaryrefslogtreecommitdiffstats
path: root/bin/g-i-installation.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/g-i-installation.sh')
-rwxr-xr-xbin/g-i-installation.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 475ac8d5..56aa6464 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -130,6 +130,8 @@ bootstrap_system() {
cd $WORKSPACE
echo "Creating throw-away logical volume with ${DISKSIZE_IN_GB} GiB now."
sudo lvcreate -L${DISKSIZE_IN_GB}G -n $NAME $VG
+ echo "Workaround to remove swap signature from previous installs, see #757818"
+ time sudo dd if=/dev/zero of=$LV bs=4096 || true
echo "Creating raw disk image with ${DISKSIZE_IN_GB} GiB now."
sudo qemu-img create -f raw $LV ${DISKSIZE_IN_GB}G
echo "Doing g-i installation test for $NAME now."