From 879ddc0de40ed4f4d0fd82f8e2af435fc3978f5d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 2 Jan 2018 22:04:44 -0200 Subject: Use https://deb.debian.org/debian/ mirror when possible and adds --force-check-gpg into debootstrap --- share/hydractl/provision | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/hydractl/provision') 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..." -- cgit v1.2.3