diff --git a/README.md b/README.md index 83b41a9..da07ba8 100644 --- a/README.md +++ b/README.md @@ -243,9 +243,20 @@ Tested on Cloud VPS. Contabo sets the hostname to something like `vmi######.cont |------------|-----------------|-----------|----------| |Ubuntu | 22.04 |**success**|2022-09-26| +### ServArica +Requires the same static network settings that Digital Ocean does. + + curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | PROVIDER=servarica NIX_CHANNEL=nixos-22.05 bash + +#### Tested on +|Distribution| Name | Status | test date| +|------------|-----------------|-----------|----------| +|Ubuntu | 20.04 | success |2022-11-26| + ### Clouding.io I could not get it to run via UserData scripts, but downloading and executing the script worked flawlessly. ### Tested on |Distribution| Name | Status | test date| |------------|-----------------|-----------|----------| |Debian | 11 |**success**|2022-12-20| + diff --git a/nixos-infect b/nixos-infect index 2cab4cc..ce98e18 100755 --- a/nixos-infect +++ b/nixos-infect @@ -337,7 +337,9 @@ infect() { /nix/var/nix/profiles/system/bin/switch-to-configuration boot } -[ "$PROVIDER" = "digitalocean" ] && doNetConf=y # digitalocean requires detailed network config to be generated +if [[ "$PROVIDER" = "digitalocean" ]] || [[ "$PROVIDER" = "servarica" ]]; then + doNetConf=y # some providers require detailed network config to be generated +fi checkEnv prepareEnv