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
1 changed files with 0 additions and 2 deletions

View File

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