mirror of https://github.com/tteck/Proxmox.git
Compare commits
5 Commits
0f727b9109
...
e4a086b8cd
Author | SHA1 | Date |
---|---|---|
|
e4a086b8cd | |
|
ab521623cd | |
|
8d5ca6bece | |
|
45d30dbbba | |
|
14101800db |
|
@ -6,7 +6,7 @@ body:
|
|||
value: |
|
||||
**IMPORTANT:** Failure to comply with the following guidelines may result in immediate closure.
|
||||
- Prior to submitting, kindly search the closed issues to check if the problem you are reporting has already been addressed and resolved. If you come across a closed issue that pertains to your problem, please leave a comment on that issue instead of creating a new one.
|
||||
- Switching Linux distributions without verifying that the default distribution is working correctly.
|
||||
- If the default Linux distribution is not adhered to, script support will be discontinued.
|
||||
- When encountering the error message `[ERROR] in line 24: exit code *: while executing command "$@" > /dev/null 2>&1`, make sure to run the script in verbose mode to accurately determine the underlying issue.
|
||||
- For suggestions, questions or feature/script requests, please share them in the [Discussions section.](https://github.com/tteck/Proxmox/discussions)
|
||||
- type: input
|
||||
|
|
|
@ -22,11 +22,11 @@ msg_ok "Installed Dependencies"
|
|||
|
||||
msg_info "Installing WireGuard (using pivpn.io)"
|
||||
OPTIONS_PATH='/options.conf'
|
||||
cat >$OPTIONS_PATH <<'EOF'
|
||||
cat >$OPTIONS_PATH <<EOF
|
||||
IPv4dev=eth0
|
||||
install_user=root
|
||||
VPN=wireguard
|
||||
pivpnNET=10.6.0.0
|
||||
pivpnNET=$(printf "10.%d.%d.0" $((RANDOM % 256)) $((RANDOM % 256)))
|
||||
subnetClass=24
|
||||
ALLOWED_IPS="0.0.0.0/0, ::0/0"
|
||||
pivpnMTU=1420
|
||||
|
|
|
@ -139,7 +139,7 @@ exit-script() {
|
|||
# This function allows the user to configure advanced settings for the script.
|
||||
advanced_settings() {
|
||||
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Here is an instructional tip:" "To make a selection, use the Spacebar." 8 58
|
||||
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Default distribution for $APP" "${var_os} \n${var_version} \n" 8 58
|
||||
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Default distribution for $APP" "${var_os} ${var_version} \n \nIf the default Linux distribution is not adhered to, script support will be discontinued. \n" 10 58
|
||||
if [ "$var_os" != "alpine" ]; then
|
||||
var_os=""
|
||||
while [ -z "$var_os" ]; do
|
||||
|
|
Loading…
Reference in New Issue