File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/bash
22set -euxo pipefail
33
4- sed -i ' s/http:\/\/archive\.ubuntu\.com\/ubuntu\//http:\/\/azure\.archive\.ubuntu\.com\/ubuntu\//g' /etc/apt/sources.list
5- sed -i ' s/http:\/\/[a-z][a-z]\.archive\.ubuntu\.com\/ubuntu\//http:\/\/azure\.archive\.ubuntu\.com\/ubuntu\//g' /etc/apt/sources.list
6-
74echo " APT::Acquire::Retries \" 10\" ;" > /etc/apt/apt.conf.d/80retries
85echo " APT::Get::Assume-Yes \" true\" ;" > /etc/apt/apt.conf.d/90assumeyes
96echo " APT::Get::Never-Include-Phased-Updates \" 1\" ;" > /etc/apt/apt.conf.d/99phased-updates
@@ -31,12 +28,6 @@ apt-fast install --no-install-recommends \
3128 ca-certificates \
3229 software-properties-common
3330
34- curl -O " https://packages.microsoft.com/config/ubuntu/$( lsb_release -rs) /packages-microsoft-prod.deb"
35- dpkg -i packages-microsoft-prod.deb
36- curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
37- curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
38- mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
39-
4031add-apt-repository universe
4132
4233apt-fast update
You can’t perform that action at this time.
0 commit comments