Skip to content
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

Support remote installation/recovery #627

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jsonn
Copy link

@jsonn jsonn commented May 18, 2016

No description provided.

jsonn added 2 commits May 18, 2016 17:19
automatically with DHCP, creates ssh host keys, sets the root password
according to the root_shadow boot option and then starts sshd.
This can be used for unattended installation or rescue over the network.
@rmustacc
Copy link
Contributor

I'd really like to avoid adding yet more additional magical boot params that are required to be on the kernel comand line. Do we really have to add additional boot params here? We have a fixed length on it and the more we add, the more we risk hitting issues. The whole overload here is why boot time modules were created.

@jsonn
Copy link
Author

jsonn commented May 18, 2016

I have two slightly different use cases for this. In the office, I have a pre-configured USB disk and can put my static configuration, including root password, into the menu.lst for a "emergency recovery mode" option. For remote installation, the situation is more difficult. I can ask ISPs to fetch an off-the-shelve USB or ISO image and put it into the virtual media library. Even on a Skylake system, KVM works well enough to set the root_shadow value and the new run_sshd option. It wouldn't allow adding a new file. Having to create a file for this seems to be counterproductive.

That said, it would be useful to provide authorized_keys instead of the password, but for that using the command line is pretty much impossible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants