quote root env
This commit is contained in:
parent
df6e0d184a
commit
279065bbec
@ -4,7 +4,7 @@
|
|||||||
ssh-keygen -A
|
ssh-keygen -A
|
||||||
|
|
||||||
# check wether a random root-password is provided
|
# check wether a random root-password is provided
|
||||||
if [ ! -z ${ROOT_PASSWORD} ] && [ "${ROOT_PASSWORD}" != "root" ]; then
|
if [ ! -z "${ROOT_PASSWORD}" ] && [ "${ROOT_PASSWORD}" != "root" ]; then
|
||||||
echo "root:${ROOT_PASSWORD}" | chpasswd
|
echo "root:${ROOT_PASSWORD}" | chpasswd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user