create-vmachine: Link /etc/mtab to /proc/self/mounts
parent
95e33d79d6
commit
242211a599
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue