mirror of
https://github.com/elitak/nixos-infect
synced 2024-11-22 19:23:28 +00:00
Works on hetzner cloud! (#47)
* Works on hetzner cloud! * Update README.md
This commit is contained in:
parent
613fa20813
commit
565204bc21
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
@ -16,6 +16,9 @@ On Vultr:
|
|||
On OVH Virtual Private Servers (experimental):
|
||||
- Debian
|
||||
|
||||
On Hetzner cloud:
|
||||
- Ubuntu 18.04
|
||||
|
||||
YMMV with any other hoster + image combination.
|
||||
|
||||
If you have a OpenVZ based virtualization solution then this, or any other OS takeover script will not work, this is fundamental to how OpenVZ works.
|
||||
|
@ -80,6 +83,16 @@ curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect |
|
|||
|
||||
Allow for a few minutes over the usual Ubuntu deployment time for NixOS to download & install itself.
|
||||
|
||||
## Hetzner cloud
|
||||
|
||||
We need to replace our nameserver to point to the dedicated Hetzner DNS as opposed to `127.0.0.1:53` which is specific to Ubuntu.
|
||||
|
||||
```
|
||||
sed -i "/nameserver/d" /etc/resolv.conf
|
||||
echo "nameserver 213.133.98.98" >> /etc/resolv.conf
|
||||
curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | PROVIDER=digitalocean NIXOS_IMPORT=./host.nix NIX_CHANNEL=nixos-19.09 bash 2>&1 | tee /tmp/infect.log
|
||||
```
|
||||
|
||||
## Motivation
|
||||
|
||||
Motivation for this script: nixos-assimilate should supplant this script
|
||||
|
|
Loading…
Reference in a new issue