From fbb4d506f0c42d7096fec63588a9d471e70f00d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Pannenb=C3=A4cker?= Date: Tue, 20 Apr 2021 18:52:26 +0200 Subject: [PATCH] $LXC_TIMEZONE instead of fixed Europe/Berlin pct set ... change to use variable $LXC_TIMEZONE instead of fixed "Europe/Berlin". P.S.: Is timezone parameter required when creating an LXC container or can it be left out entirely? --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 58e2f33..d23a800 100644 --- a/install.sh +++ b/install.sh @@ -53,7 +53,7 @@ else VLAN="" fi # Reconfigure conatiner -pct set $LXC_NBR -memory $LXC_MEM -swap $LXC_SWAP -hostname $LXC_HOSTNAME \-nameserver $LXC_DNS -searchdomain $LXC_DOMAIN -onboot 1 -timezone Europe/Berlin -net0 name=eth0,bridge=$LXC_BRIDGE,firewall=1,gw=$LXC_GW,ip=$LXC_IP,type=veth$VLAN; +pct set $LXC_NBR -memory $LXC_MEM -swap $LXC_SWAP -hostname $LXC_HOSTNAME \-nameserver $LXC_DNS -searchdomain $LXC_DOMAIN -onboot 1 -timezone $LXC_TIMEZONE -net0 name=eth0,bridge=$LXC_BRIDGE,firewall=1,gw=$LXC_GW,ip=$LXC_IP,type=veth$VLAN; sleep 2; PS3="Select the Server-Function: "