]> git.proxmox.com Git - pve-installer.git/blobdiff - unconfigured.sh
auto installer: make fetch print answer to stdout and explicitly run installer
[pve-installer.git] / unconfigured.sh
index dbdb0278a3ba621e7b60c8b8b9ee7fbc09274ad2..d83086d06d76199e9bde964cd555a6b8d7c7e012 100755 (executable)
@@ -238,9 +238,12 @@ if [ $proxtui -ne 0 ]; then
     echo "Starting the TUI installer"
     /usr/bin/proxmox-tui-installer 2>/dev/tty2
 elif [ $proxauto -ne 0 ]; then
+    echo "Caching device info from udev"
     /usr/bin/proxmox-low-level-installer dump-udev
+    echo "Fetching answers for automatic installation"
+    /usr/bin/proxmox-fetch-answer >/run/automatic-installer-answers
     echo "Starting automatic installation"
-    /usr/bin/proxmox-fetch-answer
+    /usr/bin/proxmox-auto-installer </run/automatic-installer-answers
 else
     echo "Starting the installer GUI - see tty2 (CTRL+ALT+F2) for any errors..."
     xinit -- -dpi "$DPI" -s 0 >/dev/tty2 2>&1