mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	don't trap Internet/DNS check error (#1098)
This commit is contained in:
		@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -60,6 +60,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -73,6 +74,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -64,6 +64,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -77,6 +78,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update --fix-missing
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -64,6 +64,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -77,6 +78,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
OPTIONS_PATH='/options.conf'
 | 
			
		||||
cat >$OPTIONS_PATH <<'EOF'
 | 
			
		||||
 
 | 
			
		||||
@@ -62,6 +62,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -75,6 +76,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
@@ -63,6 +63,7 @@ msg_ok "Set up Container OS"
 | 
			
		||||
msg_ok "Network Connected: ${BL}$(hostname -I)"
 | 
			
		||||
 | 
			
		||||
set +e
 | 
			
		||||
trap - ERR
 | 
			
		||||
if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else
 | 
			
		||||
  msg_error "Internet NOT Connected"
 | 
			
		||||
    read -r -p "Would you like to continue anyway? <y/N> " prompt
 | 
			
		||||
@@ -76,6 +77,7 @@ fi
 | 
			
		||||
RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 | 
			
		||||
if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 | 
			
		||||
set -e
 | 
			
		||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
 | 
			
		||||
 | 
			
		||||
msg_info "Updating Container OS"
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user