Merge "bootstrap/ubuntu: fix the root password in the image"
This commit is contained in:
commit
9ab01caf96
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue