summaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/provision3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 0d191c9..00f4208 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -18,6 +18,7 @@ hydra_user_input arch amd64 "System arch"
hydra_user_input version squeeze "Distro version"
hydra_user_input vg vg "Temporary install vg"
hydra_user_input grub n "Setup GRUB? (y/n)"
+hydra_user_input mirror http://cdn.debian.net/debian/ "Debian mirror"
# Check for requirements.
for req in debootstrap cryptsetup grub-pc lvm2; do
@@ -94,7 +95,7 @@ fi
# Initial system install.
echo "Installing base system..."
mount $install_device /tmp/debootstrap/
-debootstrap --arch=$arch $version /tmp/debootstrap/
+debootstrap --arch=$arch $version /tmp/debootstrap/ $mirror
# Initial configuration.
echo "Applying initial configuration..."