Task: Add focal script for apt mirror
This commit is contained in:
parent
ff9eb7c8a6
commit
0e9e608705
11
apt-focal.sh
11
apt-focal.sh
@ -1,5 +1,6 @@
|
||||
#!/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-updates main restricted
|
||||
deb http://apt.internal.cubetiqs.com/ubuntu focal universe
|
||||
@ -9,4 +10,12 @@ deb http://apt.internal.cubetiqs.com/ubuntu focal-updates multiverse
|
||||
deb http://apt.internal.cubetiqs.com/ubuntu focal-backports main restricted universe multiverse
|
||||
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 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