Update TurnKey scripts

Disable the 'exit on error' behavior while checking for an IP.
pull/1843/head
tteckster 2023-09-10 17:05:03 -04:00 committed by GitHub
parent 3b1560fa63
commit c10678e251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 26 additions and 0 deletions

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service

View File

@ -164,6 +164,7 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
@ -183,6 +184,7 @@ if [[ -z $IP ]]; then
IP="NOT FOUND"
fi
set -e
# Start Proxmox VE Monitor-All if available
if [[ -f /etc/systemd/system/ping-instances.service ]]; then
systemctl start ping-instances.service