Merge pull request #57 from thirdwheel/patch-1

Update setup
This commit is contained in:
Gabriel Luchina
2025-11-05 11:32:12 -03:00
committed by GitHub

6
setup
View File

@@ -357,7 +357,9 @@ setup_prerequisites() {
[ -f /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js ] && sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
touch /etc/pve/qemu-server/.osx-proxmox
update-grub >>"$logfile" 2>&1 || log_and_exit "Failed to update GRUB" "$logfile"
display_and_log "Prerequisites setup complete. Rebooting in 15 seconds..." "$logfile"
display_and_log "Prerequisites setup complete. A reboot is necessary to apply the required changes. Press enter to reboot or Ctrl+C if you intend to reboot later." "$logfile"
read noop
display_and_log "Enter pressed. Rebooting in 15 seconds..." "$logfile"
sleep 15 && reboot
}
@@ -1458,4 +1460,4 @@ fi
sleep 4
OSX_PLATFORM=$(detect_cpu_platform)
[[ ! -e /etc/pve/qemu-server/.osx-proxmox ]] && setup_prerequisites
main_menu
main_menu