diff options
Diffstat (limited to 'setup-disk.in')
-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 4d98f19..0f05b74 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -6,6 +6,7 @@ PREFIX= MBR=${MBR:-"/usr/share/syslinux/mbr.bin"} ROOTFS=${ROOTFS:-ext4} BOOTFS=${BOOTFS:-ext4} +VARFS=${VARFS:-ext4} in_list() { local i="$1" @@ -563,7 +564,7 @@ reset_var() { # set up /var on given device setup_var() { local var_dev="$1" - local varfs=ext4 + local varfs=${VARFS} echo "Creating file systems..." mkfs.$varfs -q $var_dev >/dev/null || return 1 sed -i -e '/[[:space:]]\/var[[:space:]]/d' /etc/fstab |