mirror of https://github.com/tteck/Proxmox.git
				
				
				
			don't trap Internet/DNS check error (#1098)
This commit is contained in:
		
							parent
							
								
									e840f2f26f
								
							
						
					
					
						commit
						271f29bc59
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue