mirror of
https://git.proxmox.com/git/pve-installer
synced 2025-08-14 12:50:05 +00:00
assume root file system is writable
We use overlayfs on tmpfs to make that work.
This commit is contained in:
parent
e11d96aac5
commit
37a88382de
@ -38,16 +38,8 @@ real_reboot() {
|
|||||||
fi
|
fi
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
||||||
umount -l -n /dev/.static/dev
|
|
||||||
umount -l -n /dev
|
|
||||||
|
|
||||||
umount -l -n /target >/dev/null 2>&1
|
umount -l -n /target >/dev/null 2>&1
|
||||||
umount -l -n /tmp
|
umount -l -n /dev
|
||||||
umount -l -n /var/tmp
|
|
||||||
umount -l -n /var/log
|
|
||||||
umount -l -n /var/run
|
|
||||||
umount -l -n /var/lib/xkb
|
|
||||||
|
|
||||||
umount -l -n /sys
|
umount -l -n /sys
|
||||||
umount -l -n /proc
|
umount -l -n /proc
|
||||||
|
|
||||||
@ -66,11 +58,6 @@ echo "Starting Proxmox installation"
|
|||||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
|
||||||
|
|
||||||
mount -n -t proc proc /proc
|
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
|
mount -n -t sysfs sysfs /sys
|
||||||
|
|
||||||
parse_cmdline
|
parse_cmdline
|
||||||
|
Loading…
Reference in New Issue
Block a user