Add Container::SetRootPassword function

feature/node-rewrite
Sven Slootweg 13 years ago
parent fc02cb4206
commit 713e1462dd

@ -627,6 +627,13 @@ class Container extends CPHPDatabaseRecordClass
}
}
public function SetRootPassword($password)
{
$this->SetOptions(array(
'userpasswd' => "root:{$password}"
));
}
public function EnableTunTap()
{
// TODO: Finish EnableTunTap function, check whether tun module is available on host

Loading…
Cancel
Save