Record completion of random number generator install
This commit is contained in:
parent
13a4954369
commit
802e7fcad6
|
@ -3194,11 +3194,13 @@ function random_number_generator {
|
||||||
# no hardware random number generator is available
|
# no hardware random number generator is available
|
||||||
# and use the second best option
|
# and use the second best option
|
||||||
apt-get -y --force-yes install haveged
|
apt-get -y --force-yes install haveged
|
||||||
|
echo 'random_number_generator' >> $COMPLETION_FILE
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if [[ $INSTALLED_WITHIN_DOCKER == "yes" ]]; then
|
if [[ $INSTALLED_WITHIN_DOCKER == "yes" ]]; then
|
||||||
# it is assumed that docker uses the random number
|
# it is assumed that docker uses the random number
|
||||||
# generator of the host system
|
# generator of the host system
|
||||||
|
echo 'random_number_generator' >> $COMPLETION_FILE
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if [[ $USE_HWRNG == "yes" ]]; then
|
if [[ $USE_HWRNG == "yes" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue