mirror of
https://github.com/elitak/nixos-infect.git
synced 2024-12-22 16:18:29 +03:00
add ServArica (#123)
* add ServArica * fix spacing Co-authored-by: Eric Litak <elitak@gmail.com>
This commit is contained in:
parent
2805ed6cad
commit
febf5a09cd
2 changed files with 14 additions and 1 deletions
11
README.md
11
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|
|
|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
|
### Clouding.io
|
||||||
I could not get it to run via UserData scripts, but downloading and executing the script worked flawlessly.
|
I could not get it to run via UserData scripts, but downloading and executing the script worked flawlessly.
|
||||||
### Tested on
|
### Tested on
|
||||||
|Distribution| Name | Status | test date|
|
|Distribution| Name | Status | test date|
|
||||||
|------------|-----------------|-----------|----------|
|
|------------|-----------------|-----------|----------|
|
||||||
|Debian | 11 |**success**|2022-12-20|
|
|Debian | 11 |**success**|2022-12-20|
|
||||||
|
|
||||||
|
|
|
@ -337,7 +337,9 @@ infect() {
|
||||||
/nix/var/nix/profiles/system/bin/switch-to-configuration boot
|
/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
|
checkEnv
|
||||||
prepareEnv
|
prepareEnv
|
||||||
|
|
Loading…
Reference in a new issue