Open nemanjan00 opened 5 years ago
Can we discuss how this would work? Anarchy installs the whole OS, it isn't used for systems with Arch preinstalled. So I don't really know what you would want to do with this option or how you would get it on a system that doesn't have an OS installed yet.
I would install OS to that machine by connecting to live arch from another machine.
I think this could be implemented by for example reading file from image, for configuration and if there is SSH enabled, it would start ssh server.
Oh, now I get it. Yes, this approach could work. Something like what the Raspberry Pi does.
If you think you could implement something like this you're welcome to do it and submit a PR, otherwise I'll look into it.
I was thinking about adding some more configuration to it also.
Will look into how rpi does it tomorrow.
I guess they have ssh service enabled in systemd and start ssh if file exists.
What kind of configuration do you mean? Like setting the default login info? Because I think that a simple check that would allow acces to the current (root) user would be more than enough for the installation process. I can't think of any other configuration for now.
I was thinking about implementing some more pre-boot anarchy installer configuration, while I already am at implementing ssh configuration...
For example, prefilling some settings inside installer.
I'm still not quite sure exactly what you mean but yeah, go right ahead, and good luck.
It would be cool if we could install anarchy over SSH, for systems without monitor/serial