]>
git.proxmox.com Git - pve-installer.git/blob - unconfigured.sh
8 for par
in $
(cat /proc
/cmdline
); do
28 /etc
/init.d
/networking stop
30 # stop udev (release file handles)
33 echo -n "Deactivating swap..."
34 swap
=$
(grep /dev
/proc
/swaps
);
35 if [ -n "$swap" ]; then
41 umount
-l -n /target
>/dev
/null
2>&1
51 echo "\nInstallation aborted - unable to continue (type exit or CTRL-D to reboot)"
56 echo "Starting Proxmox installation"
58 PATH
=/sbin
:/bin
:/usr
/sbin
:/usr
/bin
:/usr
/X11R
6/bin
60 # ensure udev isn't snippy and ignores our request
61 export SYSTEMD_IGNORE_CHROOT
=1
63 mount
-n -t proc proc
/proc
64 mount
-n -t sysfs sysfs
/sys
68 # always load most common input drivers
69 modprobe
-q psmouse ||
/bin
/true
70 modprobe
-q sermouse ||
/bin
/true
71 modprobe
-q usbhid ||
/bin
/true
73 # load device mapper - used by lilo
74 modprobe
-q dm_mod ||
/bin
/true
76 echo "Installing additional hardware drivers"
79 /etc
/init.d
/udev start
84 # try to get ip config with dhcp
85 echo -n "Attempting to get DHCP leases... "
89 xinit
-- -dpi 96 >/dev
/tty2
2>&1
91 # just to be sure everything is on disk
94 if [ $proxdebug -ne 0 ]; then
95 echo "Debugging mode (type exit or CTRL-D to reboot)"
99 echo "Installation done, rebooting... "
100 #mdadm -S /dev/md0 >/dev/tty2 2>&1
101 kill $
(pidof dhclient
) 2>&1 > /dev
/null