Update pve7_ha_container.sh

This commit is contained in:
tteck 2021-09-05 08:48:00 -04:00 committed by GitHub
parent d9cc2fd766
commit 1ec9bf5ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,8 @@ pct set $CTID -description "Access Portainer interface using the following URL.
http://<IP_ADDRESS>:9000"
bash ./autodev.sh $CTID
# Set container timezone to match host
MOUNT=$(pct mount $CTID | cut -d"'" -f 2)
ln -fs $(readlink /etc/localtime) ${MOUNT}/etc/localtime