Disable password expiry #1

Merged
sb10q merged 1 commits from adisbladis/wfvm:master into master 2020-06-29 20:48:44 +08:00
Showing only changes of commit 6f546f5e25 - Show all commits

View File

@ -156,7 +156,17 @@ let
echo "Done"
mv c.img $out
'')) baseImage installCommands;
'')) baseImage (
[
{
name = "DisablePasswordExpiry";
script = ''
win exec 'wmic UserAccount set PasswordExpires=False'
'';
}
] ++
installCommands
);
in