summaryrefslogtreecommitdiff
path: root/scripts/live-build-config
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2016-02-10 18:42:32 -0500
committerDaniil Baturin <daniil@baturin.org>2016-02-10 18:42:32 -0500
commit481b5f0057e4e8ad57e994acc754a907342c2642 (patch)
tree77fbd48d0054160e5be772a0f25e0baf1d714aa0 /scripts/live-build-config
parent6b6bd49bb5563f3351e8c4d0f9b4737f54a59d34 (diff)
downloadvyos-build-481b5f0057e4e8ad57e994acc754a907342c2642.tar.gz
vyos-build-481b5f0057e4e8ad57e994acc754a907342c2642.zip
Force all lb-config mirror options to debian_mirror from the build config.
Diffstat (limited to 'scripts/live-build-config')
-rwxr-xr-xscripts/live-build-config5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/live-build-config b/scripts/live-build-config
index c42887a4..dac8c27c 100755
--- a/scripts/live-build-config
+++ b/scripts/live-build-config
@@ -45,6 +45,11 @@ lb config noauto \
--iso-publisher "{{build_by}}" \
--iso-volume "VyOS" \
--debootstrap-options "--variant=minbase --exclude=isc-dhcp-client,isc-dhcp-common,ifupdown" \
+ --mirror-bootstrap {{debian_mirror}} \
+ --mirror-chroot {{debian_mirror}} \
+ --mirror-chroot-security {{debian_mirror}} \
+ --mirror-binary {{debian_mirror}} \
+ --mirror-binary-security {{debian_mirror}}
"${@}"
"""