mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 18:50:08 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
36b68e0dae
commit
978da5a443
3
Makefile
3
Makefile
@ -7,6 +7,7 @@
|
||||
# - backup
|
||||
# - pull config
|
||||
#
|
||||
#
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
EDITOR ?= vim
|
||||
@ -95,7 +96,7 @@ gate: gate-traefik
|
||||
# - ns
|
||||
#
|
||||
.PHONY: bootstrap
|
||||
bootstrap:
|
||||
bootstrap: host
|
||||
|
||||
|
||||
|
||||
|
||||
@ -42,6 +42,7 @@ readVars
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
# XXX add interface bootstrap...
|
||||
INTERFACES=(
|
||||
"name=wan,bridge=vmbr${WAN_BRIDGE},firewall=1${WAN_GATE:+,gw=${WAN_GATE}}${WAN_IP:+,ip=${WAN_IP}},type=veth"
|
||||
"name=admin,bridge=vmbr${ADMIN_BRIDGE},firewall=1${ADMIN_IP:+,ip=${ADMIN_IP}},type=veth"
|
||||
@ -62,6 +63,7 @@ buildAssets
|
||||
echo "# Creating CT..."
|
||||
pctCreateAlpine $ID "$PASS"
|
||||
|
||||
# XXX this requires a bootsrapped interface...
|
||||
echo "# Installing dependencies..."
|
||||
@ lxc-attach $ID apk add bash bridge iptables traefik logrotate
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user