Task: Add focal script for apt mirror
This commit is contained in:
parent
ff9eb7c8a6
commit
0e9e608705
@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
tee -a sources.list << EOF
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu focal main restricted
|
deb http://apt.internal.cubetiqs.com/ubuntu focal main restricted
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu focal-updates main restricted
|
deb http://apt.internal.cubetiqs.com/ubuntu focal-updates main restricted
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu focal universe
|
deb http://apt.internal.cubetiqs.com/ubuntu focal universe
|
||||||
@ -10,3 +11,11 @@ deb http://apt.internal.cubetiqs.com/ubuntu focal-backports main restricted univ
|
|||||||
deb http://apt.internal.cubetiqs.com/ubuntu focal-security main restricted
|
deb http://apt.internal.cubetiqs.com/ubuntu focal-security main restricted
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu focal-security universe
|
deb http://apt.internal.cubetiqs.com/ubuntu focal-security universe
|
||||||
deb http://apt.internal.cubetiqs.com/ubuntu focal-security multiverse
|
deb http://apt.internal.cubetiqs.com/ubuntu focal-security multiverse
|
||||||
|
EOF
|
||||||
|
|
||||||
|
mv /etc/apt/sources.list /etc/apt/sources.list.bak
|
||||||
|
mv sources.list /etc/apt/sources.list
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "======================= New Sources ======================="
|
||||||
|
cat /etc/apt/sources.list
|
Loading…
Reference in New Issue
Block a user