瀏覽代碼

Update and rename pve7_ha_container.sh to ha_container.sh

tteckster 3 年之前
父節點
當前提交
c8f4c89d6b
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      ha_container.sh

+ 3 - 3
pve7_ha_container.sh → ha_container.sh

@@ -74,7 +74,7 @@ TEMP_DIR=$(mktemp -d)
 pushd $TEMP_DIR >/dev/null
 pushd $TEMP_DIR >/dev/null
 
 
 # Download setup script
 # Download setup script
-wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/pve7_ha_setup.sh
+wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/ha_setup.sh
 
 
 # Detect modules and automatically load at boot
 # Detect modules and automatically load at boot
 load_module overlay
 load_module overlay
@@ -172,8 +172,8 @@ pct unmount $CTID && unset MOUNT
 # Setup container
 # Setup container
 msg "Starting LXC container..."
 msg "Starting LXC container..."
 pct start $CTID
 pct start $CTID
-pct push $CTID pve7_ha_setup.sh /pve7_ha_setup.sh -perms 755
-pct exec $CTID /pve7_ha_setup.sh
+pct push $CTID ha_setup.sh /ha_setup.sh -perms 755
+pct exec $CTID /ha_setup.sh
 
 
 # Get network details and show completion message
 # Get network details and show completion message
 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}')