diff --git a/nix/pkgs/switches/junos.nix b/nix/pkgs/switches/junos.nix index 2e6f77a..efe17dd 100644 --- a/nix/pkgs/switches/junos.nix +++ b/nix/pkgs/switches/junos.nix @@ -9,7 +9,7 @@ let host-name ${hostName}; time-zone Europe/Berlin; root-authentication { - encrypted-password "$5$EBmFELmv$kQxtWwS0SBS.TqVPRvs8sKpH./l9DTtTxX/I2FJB2n2"; ## SECRET-DATA + encrypted-password "%%HASH%%"; ## SECRET-DATA ssh-ed25519 "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHGgoLzQMeyX1wjsX/hgVkN//zyfOQPiBRYgO2ajEGH6 root@server2"; } services { @@ -114,13 +114,9 @@ let ''; configFileWithHash = runCommand "junos.config" { - nativeBuildInputs = [ python3 ]; + nativeBuildInputs = [ mkpasswd ]; } '' - cat >gen.py<