mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-12-26 21:32:05 +00:00
Compare commits
No commits in common. "61c9a80a092ddf0e79d1e43ce713c7be6d194fdc" and "3b04382fafe5c04fd741bf83d45ef8bd60609675" have entirely different histories.
61c9a80a09
...
3b04382faf
11
.pct-helpers
11
.pct-helpers
@ -457,20 +457,15 @@ saveConfig(){
|
||||
|
||||
saveLastRunConfig(){
|
||||
local cfg=$LAST_RUN_CONFIG
|
||||
local ct_cfg
|
||||
if ! [ -z $ID ] && ! [ -z $CTHOSTNAME ] ; then
|
||||
local ct_cfg=$ID-$CTHOSTNAME.cfg
|
||||
fi
|
||||
echo "# Saving config to: $cfg ${ct_cfg:+and $ct_cfg}"
|
||||
local ct_cfg=$ID-$CTHOSTNAME.cfg
|
||||
echo "# Saving config to: $cfg and $ct_cfg"
|
||||
{
|
||||
echo "#"
|
||||
echo "# This file is auto-generated, any changes here will be overwritten."
|
||||
echo "#"
|
||||
} > "$cfg"
|
||||
saveConfig -d -a "$cfg" ${XREAD_VARS[@]}
|
||||
if ! [ -z ${ct_cfg} ] ; then
|
||||
cp "$cfg" "$ct_cfg"
|
||||
fi
|
||||
cp "$cfg" "$ct_cfg"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -42,22 +42,6 @@ DFL_WAN_GATE=192.168.1.252
|
||||
DFL_WAN_SSH_IP=192.168.1.102/24
|
||||
|
||||
|
||||
# Port configuration...
|
||||
#
|
||||
# If the device has multiple ports it is recommended to select the WAN
|
||||
# and ADMIN on the opposite ends as to minimize the chance of erronius
|
||||
# connections.
|
||||
#
|
||||
# Administration port (ADMIN)
|
||||
# This is mainly used for setup and for sirect access to the internal
|
||||
# ADMIN network.
|
||||
DFL_ADMIN_PORT=enp2s0
|
||||
|
||||
# General connection port (WAN)
|
||||
# This is used to communicate with the services installed.
|
||||
DFL_WAN_PORT=enp5s0
|
||||
|
||||
|
||||
# Web app/service domain configuration
|
||||
#
|
||||
# Here two optional variables are provided per service:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user