Update ha_container.sh

pull/17/head
tteckster 2022-01-19 16:23:24 -05:00 committed by GitHub
parent f14b5aa5a7
commit eff3af5bdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,7 @@ 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
@ -165,6 +166,7 @@ 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."