Created
December 10, 2019 08:43
-
-
Save kleo/c50fe3cb2279b35e32cdb533874f7e61 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "Provisioning box" | |
| export DEBIAN_FRONTEND=noninteractive | |
| echo "Setting up apt local mirror" | |
| rm -rf /etc/apt/sources.list | |
| rm -rf /etc/apt/sources.list.d | |
| cat <<EOT >> /etc/apt/sources.list | |
| deb [ arch=amd64 ] http://mirror.springvalley.tech/ubuntu/ bionic main restricted universe multiverse | |
| deb [ arch=amd64 ] http://mirror.springvalley.tech/ubuntu/ bionic-security main restricted universe multiverse | |
| deb [ arch=amd64 ] http://mirror.springvalley.tech/ubuntu/ bionic-updates main restricted universe multiverse | |
| deb [ arch=amd64 ] http://mirror.springvalley.tech/ubuntu/ bionic-backports main restricted universe multiverse | |
| EOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment