Task: Add Apt Mirror script
This commit is contained in:
parent
77cf7b25bb
commit
a678330650
16
apt-mirror.sh
Normal file
16
apt-mirror.sh
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
UBUNTU_VERSION=$(lsb_release -cs)
|
||||||
|
|
||||||
|
cat << EOF
|
||||||
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION} main restricted
|
||||||
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-updates main restricted
|
||||||
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION} universe
|
||||||
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-updates universe
|
||||||
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION} multiverse
|
||||||
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-updates multiverse
|
||||||
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-backports main restricted universe multiverse
|
||||||
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security main restricted
|
||||||
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security universe
|
||||||
|
deb http://apt.internal.cubetiqs.com/ubuntu ${UBUNTU_VERSION}-security multiverse
|
||||||
|
EOF
|
Loading…
Reference in New Issue
Block a user