Update ubuntu-v5-install.sh

This commit is contained in:
tteckster 2023-02-06 08:29:53 -05:00 committed by GitHub
parent 9554066a54
commit 967b07cedd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -71,6 +71,11 @@ 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
cat <<EOF >/etc/apt/sources.list
deb http://archive.linux.duke.edu/ubuntu/ jammy main
deb-src http://archive.linux.duke.edu/ubuntu/ jammy main
EOF
msg_info "Updating Container OS"
$STD apt-get update
$STD apt-get -y upgrade