diff options
-rwxr-xr-x | helpers/lh_bootstrap_cdebootstrap | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap index 0297dfc18..2d04aed65 100755 --- a/helpers/lh_bootstrap_cdebootstrap +++ b/helpers/lh_bootstrap_cdebootstrap @@ -119,6 +119,11 @@ then CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --verbose" fi +if [ "${LH_APT_SECURE}" = "disabled" ] +then + CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --allow-unauthenticated" +fi + if [ -x "/usr/bin/cdebootstrap" ] then if [ "${LH_CACHE_PACKAGES}" = "enabled" ] |