diff --git a/scale_build/bootstrap/bootstrapdir.py b/scale_build/bootstrap/bootstrapdir.py index 5b10ca8c..e83cdb04 100644 --- a/scale_build/bootstrap/bootstrapdir.py +++ b/scale_build/bootstrap/bootstrapdir.py @@ -30,11 +30,12 @@ def setup(self): def debootstrap_debian(self): manifest = get_manifest() + apt_base_url = get_apt_base_url() run( ['debootstrap'] + self.deopts + [ '--keyring', '/etc/apt/trusted.gpg.d/debian-archive-truenas-automatic.gpg', manifest['debian_release'], - self.chroot_basedir, manifest['apt-repos']['url'] + self.chroot_basedir, apt_base_url + manifest['apt-repos']['url'] ] )