Commit 8582fe06 authored by Leigh Stoller's avatar Leigh Stoller

Set a root password for all VMs.

parent bbad9813
......@@ -2655,12 +2655,11 @@ sub CreateVnodes($$$)
$node->SetNodeHistory(TB_NODEHISTORY_OP_CREATE(),
$user, $experiment);
#
# On a shared node, generate a new root password so that
# tmcd can return it in the jail config call. On a dedicated
# node, the physical host password is used.
# Always, generate a new root password so that tmcd can
# return it in the jail config call. Safer if all nodes have
# different root passwords.
#
$node->NewRootPasswd()
if (defined($sharing_mode) && $sharing_mode);
$node->NewRootPasswd();
}
}
@$rptr = @created;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment