Update ha_container.sh

This commit is contained in:
tteckster 2022-02-08 22:02:34 -05:00 committed by GitHub
parent 6d5f2602eb
commit b7fe2efbf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,6 @@ TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null
wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/setup/ha_setup.sh
wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/misc/update.sh
load_module overlay
@ -166,7 +165,6 @@ pct push $CTID fuse-overlayfs /usr/local/bin/fuse-overlayfs -perms 755
info "Using fuse-overlayfs."
fi
pct push $CTID ha_setup.sh /ha_setup.sh -perms 755
pct push $CTID update.sh /root/update.sh -perms 755
pct exec $CTID /ha_setup.sh
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
info "Successfully Created Home Assistant Container LXC to $CTID."