mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 19:20:10 +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
|
# - backup
|
||||||
# - pull config
|
# - pull config
|
||||||
#
|
#
|
||||||
|
#
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
EDITOR ?= vim
|
EDITOR ?= vim
|
||||||
@ -95,7 +96,7 @@ gate: gate-traefik
|
|||||||
# - ns
|
# - ns
|
||||||
#
|
#
|
||||||
.PHONY: bootstrap
|
.PHONY: bootstrap
|
||||||
bootstrap:
|
bootstrap: host
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -42,6 +42,7 @@ readVars
|
|||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
|
# XXX add interface bootstrap...
|
||||||
INTERFACES=(
|
INTERFACES=(
|
||||||
"name=wan,bridge=vmbr${WAN_BRIDGE},firewall=1${WAN_GATE:+,gw=${WAN_GATE}}${WAN_IP:+,ip=${WAN_IP}},type=veth"
|
"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"
|
"name=admin,bridge=vmbr${ADMIN_BRIDGE},firewall=1${ADMIN_IP:+,ip=${ADMIN_IP}},type=veth"
|
||||||
@ -62,6 +63,7 @@ buildAssets
|
|||||||
echo "# Creating CT..."
|
echo "# Creating CT..."
|
||||||
pctCreateAlpine $ID "$PASS"
|
pctCreateAlpine $ID "$PASS"
|
||||||
|
|
||||||
|
# XXX this requires a bootsrapped interface...
|
||||||
echo "# Installing dependencies..."
|
echo "# Installing dependencies..."
|
||||||
@ lxc-attach $ID apk add bash bridge iptables traefik logrotate
|
@ lxc-attach $ID apk add bash bridge iptables traefik logrotate
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user