add ServArica (#123)

* add ServArica

* fix spacing

Co-authored-by: Eric Litak <elitak@gmail.com>
This commit is contained in:
Shaun Smiley 2022-12-19 21:26:47 -08:00 committed by GitHub
parent 2805ed6cad
commit febf5a09cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View file

@ -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|

View file

@ -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