mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 10:40:07 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7e091183ce
commit
73da4ed12c
@ -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' \
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -81,5 +81,6 @@ pctSet $ID "${OPTS_STAGE_2}" $REBOOT
|
||||
echo "# Done."
|
||||
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# vim:set ts=4 sw=4 :
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user