diff --git a/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot b/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot index 65e06cd9..d59d6c69 100644 --- a/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot +++ b/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot @@ -21,7 +21,7 @@ if [ "$IMAGEFORMAT" == "none" ]; then echo "LABEL=writable / ext4 defaults,x-systemd.growfs 0 0" >>/etc/fstab # Create a 1GB swapfile - dd if=/dev/zero of=/swapfile bs=1M count=1024 + dd if=/dev/zero of=/swapfile bs=1G count=1 chmod 0600 /swapfile mkswap /swapfile