1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-28 09:33:13 +02:00

revert change archive mirrors for Ubuntu (#1028)

* revert change archive mirrors for Ubuntu
This commit is contained in:
tteckster 2023-02-06 15:14:43 -05:00 committed by GitHub
parent 8e736f1680
commit a79ecedb80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 42 deletions

View File

@ -71,12 +71,6 @@ 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
CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
cat <<EOF >/etc/apt/sources.list
deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
EOF
msg_info "Updating Container OS"
$STD apt-get update
$STD apt-get -y upgrade

View File

@ -71,12 +71,6 @@ 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
CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
cat <<EOF >/etc/apt/sources.list
deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
EOF
msg_info "Updating Container OS"
$STD apt-get update
$STD apt-get -y upgrade

View File

@ -71,12 +71,6 @@ 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
CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
cat <<EOF >/etc/apt/sources.list
deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
EOF
msg_info "Updating Container OS"
$STD apt-get update
$STD apt-get -y upgrade

View File

@ -71,12 +71,6 @@ 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
CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
cat <<EOF >/etc/apt/sources.list
deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
EOF
msg_info "Updating Container OS"
$STD apt-get update
$STD apt-get -y upgrade

View File

@ -71,12 +71,6 @@ 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
CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
cat <<EOF >/etc/apt/sources.list
deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
EOF
msg_info "Updating Container OS"
$STD apt-get update
$STD apt-get -y upgrade

View File

@ -71,12 +71,6 @@ 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
CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
cat <<EOF >/etc/apt/sources.list
deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
EOF
msg_info "Updating Container OS"
$STD apt-get update --fix-missing
$STD apt-get -y upgrade

View File

@ -71,12 +71,6 @@ 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
CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
cat <<EOF >/etc/apt/sources.list
deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main
EOF
msg_info "Updating Container OS"
$STD apt-get update
$STD apt-get -y upgrade