-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Netboot Image with preconfigured/random password #303
Comments
Did we not already support putting password hashes in the cmdline in nixos in general? Unsure if we also import this in the netboot image, but if we don't, we can add this. Would you than still need a random password in that case? |
This sounds awesome! No, if I can specify a hash, I'm all set. And thanks for the quick response 🙇🏼 |
I'm sorry for the delay, just found a bit of time to test. The current pxe setup does not react to |
Hey @Mic92! Thank you very much for reviewing and merging the change in nixpkgs, highly appreciated! I've seen your change to the nixpkgs inputs in this repo - do you plan on keeping this for a longer time? Is there something I have to/can do to get my change into an actual netboot build in here? |
Good evening folks!
I'm currently preparing a pxe environment for semi-automated provisioning of many physical and virtual machines. These machines should be ready for their nixos-anywhere deployment after boot, without human interaction.
Your current installer images with their display of the generated root-password and network config is almost ideal. (It just doesn't work in my ipxe environment due to efi/memdisk.)
Could you add that functionality to the pxe images as well?
Moving this a step further: Would it be possible to specify a fixed root password (or public key) with the command line options?
Thanks a lot!
(I could probably generate my own modified images - I'm just too lazy to add another responsibility to that project. Keeping it simple and stupid.)
The text was updated successfully, but these errors were encountered: