diff --git a/create-vmachine.sh b/create-vmachine.sh index c6b3eac..ef64447 100755 --- a/create-vmachine.sh +++ b/create-vmachine.sh @@ -84,10 +84,10 @@ done echo "Configuring fstab..." cat << EOF > "${MOUNTPOINT}"/etc/fstab -LABEL=root / xfs ro,noatime 0 1 -LABEL=usr /usr xfs ro,noatime 0 2 -LABEL=var /var xfs noatime 0 2 -LABEL=home /home xfs noatime 0 2 +/dev/${VMNAME}/root / xfs ro,noatime 0 1 +/dev/${VMNAME}/usr /usr xfs ro,noatime 0 2 +/dev/${VMNAME}/var /var xfs noatime 0 2 +/dev/${VMNAME}/home /home xfs noatime 0 2 tmpfs /tmp tmpfs defaults 0 0 EOF