From 37a88382dea3e1cba50dc7ac1c5655bca915b08a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 31 Aug 2016 10:21:11 +0200 Subject: [PATCH] assume root file system is writable We use overlayfs on tmpfs to make that work. --- unconfigured.sh | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/unconfigured.sh b/unconfigured.sh index 0ad7e6b..1066027 100755 --- a/unconfigured.sh +++ b/unconfigured.sh @@ -38,16 +38,8 @@ real_reboot() { fi echo "done." - umount -l -n /dev/.static/dev - umount -l -n /dev - umount -l -n /target >/dev/null 2>&1 - umount -l -n /tmp - umount -l -n /var/tmp - umount -l -n /var/log - umount -l -n /var/run - umount -l -n /var/lib/xkb - + umount -l -n /dev umount -l -n /sys umount -l -n /proc @@ -66,11 +58,6 @@ echo "Starting Proxmox installation" PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin mount -n -t proc proc /proc -mount -n -t tmpfs tmpfs /tmp -mount -n -t tmpfs tmpfs /var/tmp -mount -n -t tmpfs tmpfs /var/log -mount -n -t tmpfs tmpfs /var/run -mount -n -t tmpfs tmpfs /var/lib/xkb mount -n -t sysfs sysfs /sys parse_cmdline -- 2.39.2