Skip to content

Commit

Permalink
examples/microvms-host: empty passwords don't work anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Oct 26, 2024
1 parent 36a1d87 commit 7f30633
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/microvms-host.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ nixpkgs.lib.nixosSystem {
Once nested MicroVMs have booted you can look up DHCP leases:
networkctl status virbr0
They are configured to allow SSH login with an empty root
password.
They are configured to allow SSH login with root password:
toor
'';
services.getty.autologinUser = "root";

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

users.users.root.password = "";
users.users.root.password = "toor";
services.openssh = {
enable = true;
settings.PermitRootLogin = "yes";
Expand Down

0 comments on commit 7f30633

Please sign in to comment.