1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-25 10:42:53 +02:00

Update debian11_container.sh

This commit is contained in:
tteckster 2021-10-23 15:47:58 -04:00 committed by GitHub
parent 7dc24e287f
commit 8249b70069
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,9 +153,9 @@ pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \
-ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE >/dev/null
# Set container timezone to match host
MOUNT=$(pct mount $CTID | cut -d"'" -f 2)
ln -fs $(readlink /etc/localtime) ${MOUNT}/etc/localtime
pct unmount $CTID && unset MOUNT
#MOUNT=$(pct mount $CTID | cut -d"'" -f 2)
#ln -fs $(readlink /etc/localtime) ${MOUNT}/etc/localtime
#pct unmount $CTID && unset MOUNT
# Setup container
msg "Starting LXC container..."