diff --git a/create-vmachine.sh b/create-vmachine.sh index ef64447..0a86287 100755 --- a/create-vmachine.sh +++ b/create-vmachine.sh @@ -94,7 +94,7 @@ EOF echo "Creating read-only root filesystem compatibility symlinks..." rm -f "${MOUNTPOINT}"/etc/{resolv,ntp}.conf rm -f "${MOUNTPOINT}"/etc/mtab -ln -s /proc/mounts "${MOUNTPOINT}"/etc/mtab +ln -s /proc/self/mounts "${MOUNTPOINT}"/etc/mtab ln -s /run/resolv.conf "${MOUNTPOINT}"/etc/resolv.conf ln -s /run/ntp.conf "${MOUNTPOINT}"/etc/ntp.conf