mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-23 03:33:53 +00:00
fix: restore port prompt in Quick installation mode
The Quick installation mode was no longer asking for the port number, just using the default 7655. This regression was introduced when the duplicate main function was removed. Restored the port prompt to Quick mode so users can specify a custom port if needed, matching the original behavior.
This commit is contained in:
+7
-1
@@ -332,7 +332,13 @@ create_lxc_container() {
|
||||
onboot=1
|
||||
firewall=1
|
||||
unprivileged=1
|
||||
frontend_port=7655
|
||||
# Ask for port even in quick mode
|
||||
echo
|
||||
safe_read_with_default "Port [7655]: " frontend_port "7655"
|
||||
if [[ ! "$frontend_port" =~ ^[0-9]+$ ]] || [[ "$frontend_port" -lt 1 ]] || [[ "$frontend_port" -gt 65535 ]]; then
|
||||
print_info "Using default: 7655"
|
||||
frontend_port=7655
|
||||
fi
|
||||
# Quick mode should ask about auto-updates too
|
||||
echo
|
||||
echo "Enable automatic updates?"
|
||||
|
||||
Reference in New Issue
Block a user