Merge "bootstrap/ubuntu: fix the root password in the image"

This commit is contained in:
Jenkins 2015-09-02 11:23:11 +00:00 committed by Gerrit Code Review
commit 9ab01caf96
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ copy_conf_files ()
{
local root="$1"
rsync -rlptDK "$datadir/ubuntu/files/" "${root%/}"
sed -i $root/etc/shadow -e '/^root/c\root:$$6$$oC7haQNQ$$LtVf6AI.QKn9Jb89r83PtQN9fBqpHT9bAFLzy.YVxTLiFgsoqlPY3awKvbuSgtxYHx4RUcpUqMotp.WZ0Hwoj.:15441:0:99999:7:::'
sed -i $root/etc/shadow -e '/^root/c\root:$6$oC7haQNQ$LtVf6AI.QKn9Jb89r83PtQN9fBqpHT9bAFLzy.YVxTLiFgsoqlPY3awKvbuSgtxYHx4RUcpUqMotp.WZ0Hwoj.:15441:0:99999:7:::'
}
install_ssh_keys ()