diff options
-rw-r--r-- | setup-disk.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in index 3be60bb..5fc9cb5 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -399,7 +399,8 @@ EOF # manually add swap to mounted fstab and add the swap service to the boot runlevel echo -e "$(uuid_or_device $swap_dev)\tswap\t\tswap\tdefaults 0 0" >> /mnt/etc/fstab - chroot /mnt ""rc-update --quiet add swap boot"" + chroot /mnt rc-update --quiet add swap boot + chroot /mnt rc-update --quiet add urandom boot unmount_partitions /mnt swapoff -a |