diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-01-02 22:04:44 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-01-02 22:04:44 -0200 |
commit | 879ddc0de40ed4f4d0fd82f8e2af435fc3978f5d (patch) | |
tree | 8bac222ada30000985271f6c0c1f5e273a8e9406 /share/hydractl/provision | |
parent | 00890f444f764912b1b63a0d2065a402580d0585 (diff) | |
download | hydra-879ddc0de40ed4f4d0fd82f8e2af435fc3978f5d.tar.gz hydra-879ddc0de40ed4f4d0fd82f8e2af435fc3978f5d.tar.bz2 |
Use https://deb.debian.org/debian/ mirror when possible and adds --force-check-gpg into debootstrap
Diffstat (limited to 'share/hydractl/provision')
-rwxr-xr-x | share/hydractl/provision | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 8cf112e..938b28e 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -108,7 +108,7 @@ function hydra_provision_config { hydra_user_config version stretch "Distro version" hydra_user_config vg $hostname "Install vg" hydra_user_config grub y "Setup GRUB? (y/n)" - hydra_user_config mirror http://http.debian.net/debian/ "Debian mirror" + hydra_user_config mirror https://deb.debian.org/debian/ "Debian mirror" hydra_user_config ssh y "Install openssh-server? (y/n)" # Check arch @@ -309,7 +309,7 @@ APT_INSTALL="hydra_sudo_run LC_ALL=C DEBIAN_FRONTEND=noninteractive chroot $WORK # Initial system install. echo "Installing base system..." -hydra_sudo_run LC_ALL=C DEBIAN_FRONTEND=noninteractive debootstrap --arch=$arch $version $WORK/ $mirror +hydra_sudo_run LC_ALL=C DEBIAN_FRONTEND=noninteractive debootstrap --force-check-gpg --arch=$arch $version $WORK/ $mirror # Initial configuration. echo "Applying initial configuration..." |