tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-01-04 02:52:44 +03:00
parent 7e091183ce
commit 73da4ed12c
4 changed files with 11 additions and 4 deletions

View File

@ -260,9 +260,13 @@ buildAssets(){
-e 's/\${GATE_HOSTNAME}/'${GATE_HOSTNAME/\//\\/}'/g' \
-e 's/\${NS_HOSTNAME}/'${NS_HOSTNAME/\//\\/}'/g' \
-e 's/\${GATE_LAN_IP}/'${GATE_LAN_IP/\//\\/}'/g' \
-e 's/\${GATE_LAN_IPn}/'${GATE_LAN_IP/\/*}'/g' \
-e 's/\${GATE_ADMIN_IP}/'${GATE_ADMIN_IP/\//\\/}'/g' \
-e 's/\${GATE_ADMIN_IPn}/'${GATE_ADMIN_IP/\/*}'/g' \
-e 's/\${NS_LAN_IP}/'${NS_LAN_IP/\//\\/}'/g' \
-e 's/\${NS_LAN_IPn}/'${NS_LAN_IP/\/*}'/g' \
-e 's/\${NS_ADMIN_IP}/'${NS_ADMIN_IP/\//\\/}'/g' \
-e 's/\${NS_ADMIN_IPn}/'${NS_ADMIN_IP/\/*}'/g' \
-e 's/\${WAN_IP}/'${WAN_IP/\//\\/}'/g' \
-e 's/\${WAN_IPn}/'${WAN_IP/\/*}'/g' \
-e 's/\${WAN_GATE}/'${WAN_GATE/\//\\/}'/g' \

View File

@ -3,7 +3,7 @@
A set of scripts for automating setup and tasks in proxmox.
## TODO
- add base container hostnames and ip's to `ns`'s config template...
- revise defaults
## Goals
- support the basic CT lifecicle:

View File

@ -81,5 +81,6 @@ pctSet $ID "${OPTS_STAGE_2}" $REBOOT
echo "# Done."
#----------------------------------------------------------------------
# vim:set ts=4 sw=4 :

View File

@ -1,5 +1,7 @@
#----------------------------------------------------------------------
#
# XXX get domain ips from config...
#
#----------------------------------------------------------------------
# DNS
@ -45,11 +47,11 @@ address=/${CTHOSTNAME}/${ADMIN_IPn}
address=/${CTHOSTNAME}/${LAN_IPn}
# gate
address=/${GATE_HOSTNAME}/${GATE_ADMIN_IP}
address=/${GATE_HOSTNAME}/${GATE_ADMIN_IPn}
address=/${GATE_HOSTNAME}/${LAN_GATE}
dhcp-option=admin,option:router,${GATE_ADMIN_IP}
dhcp-option=admin,option:router,${GATE_ADMIN_IPn}
dhcp-option=lan,option:router,${LAN_GATE}
dhcp-host=admin,gate,${GATE_ADMIN_IP},infinite
dhcp-host=admin,gate,${GATE_ADMIN_IPn},infinite
dhcp-host=lan,gate,${LAN_GATE},infinite
# pve