From 921b9615dff0e34c9c35cdca34aef1e1d97885bb Mon Sep 17 00:00:00 2001 From: tteck Date: Thu, 12 Aug 2021 10:04:37 -0400 Subject: [PATCH] Update esphome_container.sh --- esphome_container.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/esphome_container.sh b/esphome_container.sh index fead0561..b1588179 100644 --- a/esphome_container.sh +++ b/esphome_container.sh @@ -65,7 +65,7 @@ TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null # Download setup script -wget -qL https://github.com/tteck/proxmox_esphome/raw/master/setup.sh +wget -qL https://github.com/tteck/Proxmox/raw/master/esphome_setup.sh # Detect modules and automatically load at boot load_module overlay @@ -151,9 +151,9 @@ pct unmount $CTID && unset MOUNT # Setup container msg "Starting LXC container..." pct start $CTID -pct push $CTID setup.sh /setup.sh -perms 755 -pct exec $CTID /setup.sh +pct push $CTID esphome_setup.sh /esphome_setup.sh -perms 755 +pct exec $CTID /esphome_setup.sh # Get network details and show completion message IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}') -info "Successfully created esphome LXC Container to $CTID at IP Address ${IP}:6052" \ No newline at end of file +info "Successfully created esphome LXC Container to $CTID at IP Address ${IP}:6052"