Compare commits

..

No commits in common. "c10678e251185c59d073f240474afaa7161c03a8" and "4bbbcd2fea9e73951408d78955fd4e92f7d3d1f0" have entirely different histories.

13 changed files with 14 additions and 40 deletions

View File

@ -164,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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

@ -18,7 +18,7 @@ PCT_OPTIONS="
-cores 2
-memory 2048
-password $PASS
-net0 name=eth0,bridge=vmbr0,ip=dhcp
-net0 name=eth0,bridge=vmbr0,hwaddr=AE:1A:60:07:B7:59,ip=dhcp
-unprivileged 1
"
DEFAULT_PCT_OPTIONS=(
@ -164,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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,12 +164,11 @@ pct start "$CTID"
sleep 5
# Get container IP
set +e
max_attempts=5
attempt=1
IP=""
while [[ $attempt -le $max_attempts ]]; do
IP=$(pct exec $CTID ip a show dev eth0 | grep -oP 'inet \K[^/]+')
IP=$(pct exec $CTID ip route get 8.8.8.8 | sed -n '/src/{s/.*src *\([^ ]*\).*/\1/p;q}')
if [[ -n $IP ]]; then
break
else
@ -184,7 +183,6 @@ 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