Allow LH_APT_SECURE to disable package cdebootstrap package authentication
This commit is contained in:
parent
25ad66e62d
commit
991139e0f6
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue