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

Does NOT work on DigitalOcean Droplet with Ubuntu 22.04 without `export doNetConf=y` #164

Open willhansen opened 1 year ago

willhansen commented 1 year ago

Tried the script, through the Digital Ocean configuration and just running it. Neither worked, and gave no indication why.

When running the script directly, I could at least see that it finished with no errors and restarted itself. Then I just couldn't connect via ssh again.

This helpful issue pointed me in the right direction: https://github.com/elitak/nixos-infect/issues/153

Ultimately got things working by just calling export doNetConf=y before running the script.


Selection_214

BKSalman commented 1 year ago

thanks, this helped me :)

nixfemby commented 11 months ago

Thank you! This works on Debian 12 as well

acook commented 6 months ago

It's possible that this would also be fixed by adding export doNetConf in the script itself.

donovanglover commented 5 months ago

FWIW this can also be fixed with PROVIDER=digitalocean. Could PR a documentation update to make this more obvious.