mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-12-25 12:52:04 +00:00
Compare commits
No commits in common. "95369a63add5f38a0691aa248fb2777bc4b769ff" and "443e48e051e2a789a35354df07eee779c40da19b" have entirely different histories.
95369a63ad
...
443e48e051
70
Makefile
70
Makefile
@ -1,37 +1,33 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
config.global: config.global.example
|
config.global: config.global.example
|
||||||
vim "+0r config.global.example" $@
|
vim "+0r config.global.example" $<
|
||||||
|
|
||||||
|
|
||||||
config: config.global
|
config: config.global
|
||||||
|
|
||||||
|
|
||||||
.PHONY: gate
|
.PHONY: gate
|
||||||
gate: ./gate-traefik
|
gate: ./gate-traefik
|
||||||
$</make.sh
|
$</make.sh
|
||||||
|
|
||||||
|
|
||||||
.PHONY: ns
|
.PHONY: ns
|
||||||
ns:
|
ns:
|
||||||
$@/make.sh
|
$@/make.sh
|
||||||
|
|
||||||
.PHONY: ssh
|
.PHONY: ssh
|
||||||
ssh:
|
ssh:
|
||||||
$@/make.sh
|
$@/make.sh
|
||||||
|
|
||||||
.PHONY: wireguard
|
.PHONY: syncthing
|
||||||
wireguard:
|
syncthing:
|
||||||
$@/make.sh
|
$@/make.sh
|
||||||
|
|
||||||
.PHONY: syncthing
|
|
||||||
syncthing:
|
.PHONY: all
|
||||||
$@/make.sh
|
all: config gate ns ssh syncthing
|
||||||
|
|
||||||
|
|
||||||
.PHONY: all
|
|
||||||
all: config gate ns ssh wireguard syncthing
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,27 +1,27 @@
|
|||||||
#
|
#
|
||||||
# Setting an option here will disable its interactive dialog. prefixing
|
# Setting an option here will disable its interactive dialog. prefixing
|
||||||
# an option (except for ROOTPASS) with "DFL_" will set the default value
|
# an option (except for ROOTPASS) with "DFL_" will set the default value
|
||||||
# and show the dialog enabling the user to tweak/confirm the value.
|
# and show the dialog enabling the user to tweak/confirm the value.
|
||||||
#
|
#
|
||||||
|
|
||||||
DFL_EMAIL=user@example.com
|
DFL_EMAIL=user@example.com
|
||||||
DFL_DOMAIN=example.com
|
DFL_DOMAIN=example.com
|
||||||
DFL_WAN_IP=192.168.1.101/24
|
DFL_WAN_IP=192.168.1.101/24
|
||||||
DFL_WAN_GATE=192.168.1.252
|
DFL_WAN_GATE=192.168.1.252
|
||||||
|
|
||||||
DFL_WAN_BRIDGE=2
|
DFL_WAN_BRIDGE=2
|
||||||
DFL_LAN_BRIDGE=0
|
DFL_LAN_BRIDGE=0
|
||||||
DFL_ADMIN_BRIDGE=1
|
DFL_ADMIN_BRIDGE=1
|
||||||
|
|
||||||
# this can be used for passing in ssh keys, etc...
|
# this can be used for passing in ssh keys, etc...
|
||||||
DFL_PCT_EXTRA=
|
DFL_PCT_EXTRA=
|
||||||
|
|
||||||
NS_HOSTNAME=ns
|
NS_HOSTNAME=ns
|
||||||
NS_ADMIN_IP=10.0.0.1/24
|
NS_ADMIN_IP=10.0.0.1/24
|
||||||
NS_LAN_IP=10.1.1.1/24
|
NS_LAN_IP=10.1.1.1/24
|
||||||
|
|
||||||
GATE_HOSTNAME=gate
|
GATE_HOSTNAME=gate
|
||||||
GATE_ADMIN_IP=10.0.0.2/24
|
GATE_ADMIN_IP=10.0.0.2/24
|
||||||
GATE_LAN_IP=10.1.1.2/24
|
GATE_LAN_IP=10.1.1.2/24
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -47,8 +47,8 @@ OPTS_STAGE_1="\
|
|||||||
--hostname $CTHOSTNAME \
|
--hostname $CTHOSTNAME \
|
||||||
--memory $RAM \
|
--memory $RAM \
|
||||||
--swap $SWAP \
|
--swap $SWAP \
|
||||||
--net0 name=lan,bridge=vmbr${LAN_BRIDGE},firewall=1${LAN_GATE:+,gw=$LAN_GATE}${LAN_IP:+,ip=$LAN_IP},type=veth \
|
--net0 name=lan,bridge=vmbr0,firewall=1${LAN_GATE:+,gw=$LAN_GATE}${LAN_IP:+,ip=$LAN_IP},type=veth \
|
||||||
--net1 name=admin,bridge=vmbr${ADMIN_BRIDGE},firewall=1${ADMIN_IP:+,ip=$ADMIN_IP},type=veth \
|
--net1 name=admin,bridge=vmbr1,firewall=1${ADMIN_IP:+,ip=$ADMIN_IP},type=veth \
|
||||||
--storage local-lvm \
|
--storage local-lvm \
|
||||||
--rootfs local-lvm:$DRIVE \
|
--rootfs local-lvm:$DRIVE \
|
||||||
--unprivileged 1 \
|
--unprivileged 1 \
|
||||||
|
|||||||
@ -47,8 +47,8 @@ OPTS_STAGE_1="\
|
|||||||
--hostname $CTHOSTNAME \
|
--hostname $CTHOSTNAME \
|
||||||
--memory $RAM \
|
--memory $RAM \
|
||||||
--swap $SWAP \
|
--swap $SWAP \
|
||||||
--net0 name=lan,bridge=vmbr${LAN_BRIDGE},firewall=1,ip=dhcp,type=veth \
|
--net0 name=lan,bridge=vmbr0,firewall=1,ip=dhcp,type=veth \
|
||||||
--net1 name=admin,bridge=vmbr${ADMIN_BRIDGE},firewall=1,ip=dhcp,type=veth \
|
--net1 name=admin,bridge=vmbr1,firewall=1,ip=dhcp,type=veth \
|
||||||
--storage local-lvm \
|
--storage local-lvm \
|
||||||
--rootfs local-lvm:$DRIVE \
|
--rootfs local-lvm:$DRIVE \
|
||||||
--unprivileged 1 \
|
--unprivileged 1 \
|
||||||
|
|||||||
@ -46,8 +46,8 @@ OPTS_STAGE_1="\
|
|||||||
--hostname $CTHOSTNAME \
|
--hostname $CTHOSTNAME \
|
||||||
--memory $RAM \
|
--memory $RAM \
|
||||||
--swap $SWAP \
|
--swap $SWAP \
|
||||||
--net0 name=lan,bridge=vmbr${LAN_BRIDGE},firewall=1,ip=dhcp,type=veth \
|
--net0 name=lan,bridge=vmbr0,firewall=1,ip=dhcp,type=veth \
|
||||||
--net1 name=admin,bridge=vmbr${ADMIN_BRIDGE},firewall=1,ip=dhcp,type=veth \
|
--net1 name=admin,bridge=vmbr1,firewall=1,ip=dhcp,type=veth \
|
||||||
--storage local-lvm \
|
--storage local-lvm \
|
||||||
--rootfs local-lvm:$DRIVE \
|
--rootfs local-lvm:$DRIVE \
|
||||||
--unprivileged 1 \
|
--unprivileged 1 \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user