From 4f62c5a9951353cd4070dc9d7d22b0f6dd37cc76 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 12 Jun 2013 11:32:00 +0200 Subject: [PATCH] Revert "Use 100% instead of '-1' to address end of disk" This reverts commit 4cc1f8e4bccc3866c966d8715ecac2923c9c06e0. --- deployment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.sh b/deployment.sh index afd6f52..f317f09 100755 --- a/deployment.sh +++ b/deployment.sh @@ -752,7 +752,7 @@ else # no LVM (default) parted -s /dev/${DISK} mktable "$TABLE" || die "Failed to set up partition table" # hw-raid with rootfs + swap partition parted -s /dev/${DISK} 'mkpart primary ext4 2048s 95%' || die "Failed to set up primary partition" - parted -s /dev/${DISK} 'mkpart primary linux-swap 95% 100%' || die "Failed to set up swap partition" + parted -s /dev/${DISK} 'mkpart primary linux-swap 95% -1' || die "Failed to set up swap partition" sync # used later by installer