mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 10:40:07 +00:00
added endpoint config...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
cf455d2c53
commit
efd06a9322
@ -38,11 +38,23 @@ LAN_GATE=SKIP
|
||||
|
||||
REBOOT=${REBOOT:=1}
|
||||
|
||||
USER=shadowsocks
|
||||
|
||||
# Wireguard config...
|
||||
DFL_ENDPOINT=${DFL_ENDPOINT:=$(\
|
||||
which dig > /dev/null 2>&1 \
|
||||
&& (dig +short ${DOMAIN:-$DFL_DOMAIN} \
|
||||
| tail -1) \
|
||||
|| echo "${DOMAIN:-$DFL_DOMAIN}")}
|
||||
xread "Shadowsocks endpoint: " ENDPOINT
|
||||
|
||||
DFL_ENDPOINT_PORT=${DFL_ENDPOINT_PORT:=5555}
|
||||
xread "Shadowsocks endpoint port: " ENDPOINT_PORT
|
||||
|
||||
|
||||
readVars
|
||||
|
||||
|
||||
USER=shadowsocks
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
@ -58,7 +70,7 @@ OPTS_STAGE_2="\
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
echo "# Building config..."
|
||||
buildAssets
|
||||
buildAssets ENDPOINT ENDPOINT_PORT
|
||||
|
||||
echo "# Creating CT..."
|
||||
pctCreateAlpine $ID "$PASS"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user