File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
images/ubuntu/scripts/build Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ printf "https://archive.ubuntu.com/ubuntu/\tpriority:2\n" | tee -a /etc/apt/apt-
1313printf " https://security.ubuntu.com/ubuntu/\tpriority:3\n" | tee -a /etc/apt/apt-mirrors.txt
1414
1515if is_ubuntu24; then
16- sed -i ' s/https :\/\/azure.archive.ubuntu.com\/ubuntu\//mirror+file:\/etc\/apt\/apt-mirrors.txt/' /etc/apt/sources.list.d/ubuntu.sources
16+ sed -i ' s/http :\/\/azure.archive.ubuntu.com\/ubuntu\//mirror+file:\/etc\/apt\/apt-mirrors.txt/' /etc/apt/sources.list.d/ubuntu.sources
1717
1818 # Apt changes to survive Cloud Init
1919 cp -f /etc/apt/sources.list.d/ubuntu.sources /etc/cloud/templates/sources.list.ubuntu.deb822.tmpl
2020else
21- sed -i ' s/https :\/\/azure.archive.ubuntu.com\/ubuntu\//mirror+file:\/etc\/apt\/apt-mirrors.txt/' /etc/apt/sources.list
21+ sed -i ' s/http :\/\/azure.archive.ubuntu.com\/ubuntu\//mirror+file:\/etc\/apt\/apt-mirrors.txt/' /etc/apt/sources.list
2222
2323 # Apt changes to survive Cloud Init
2424 cp -f /etc/apt/sources.list /etc/cloud/templates/sources.list.ubuntu.tmpl
You can’t perform that action at this time.
0 commit comments