elitak / nixos-infect

[GPLv3+] install nixos over the existing OS in a DigitalOcean droplet (and others with minor modifications)
GNU General Public License v3.0
1.3k stars 214 forks source link

Add provider autodetection for hetzner #174

Closed mkg20001 closed 5 months ago

mkg20001 commented 11 months ago

The idea is to automate provider detection when using curl and not cloud-init, since most providers add their own easily-detectable shenanigans

(The alternative would be to warn about setting PROVIDER manually, but that is more effort for the user)

Ref: https://github.com/elitak/nixos-infect/issues/173#issuecomment-1745921769

This was tested on CAX11