Skip to content

Commit 7f30633

Browse files
committed
examples/microvms-host: empty passwords don't work anymore
1 parent 36a1d87 commit 7f30633

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/microvms-host.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ nixpkgs.lib.nixosSystem {
4141
Once nested MicroVMs have booted you can look up DHCP leases:
4242
networkctl status virbr0
4343
44-
They are configured to allow SSH login with an empty root
45-
password.
44+
They are configured to allow SSH login with root password:
45+
toor
4646
'';
4747
services.getty.autologinUser = "root";
4848

@@ -80,7 +80,7 @@ nixpkgs.lib.nixosSystem {
8080
# Just use 99-ethernet-default-dhcp.network
8181
systemd.network.enable = true;
8282

83-
users.users.root.password = "";
83+
users.users.root.password = "toor";
8484
services.openssh = {
8585
enable = true;
8686
settings.PermitRootLogin = "yes";

0 commit comments

Comments
 (0)