diff --git a/Makefile b/Makefile index 6b443a4..f1d88c4 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ # - backup # - pull config # +# #---------------------------------------------------------------------- EDITOR ?= vim @@ -95,7 +96,7 @@ gate: gate-traefik # - ns # .PHONY: bootstrap -bootstrap: +bootstrap: host diff --git a/gate-traefik/make.sh b/gate-traefik/make.sh index bb41b2c..0538958 100755 --- a/gate-traefik/make.sh +++ b/gate-traefik/make.sh @@ -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