Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revizePředchozí verze | Následující verzeObě strany příští revize | ||
navody:distribuce:nixos [2017/10/31 08:48] – [Common issues] ssh, systemd232/233 rmarko | navody:distribuce:nixos [2018/10/27 10:29] – use vpsAdminOS template, mark openvz template as unsupported rmarko | ||
---|---|---|---|
Řádek 1: | Řádek 1: | ||
===== NixOS ===== | ===== NixOS ===== | ||
- | NixOS template is available based on NixOS 17.03. | + | NixOS allows declarative configuration management of the whole system and deployed services. |
+ | |||
+ | To start using NixOS choose **[vpsAdminOS] NixOS** template. | ||
+ | |||
+ | If you have set your public SSH keys in vpsAdmin the key will be automatically deployed and you can login as root right away. To be able to login with a password you need to set the password manually after your container is created. | ||
==== Configuration ==== | ==== Configuration ==== | ||
Řádek 8: | Řádek 12: | ||
This can be altered to change container configuration on the fly or for next reboot. Try changing container hostname and running < | This can be altered to change container configuration on the fly or for next reboot. Try changing container hostname and running < | ||
+ | |||
+ | If you are using channels you can update your system by running < | ||
==== Package installation ==== | ==== Package installation ==== | ||
Řádek 20: | Řádek 26: | ||
Consult NixOS manual for more https:// | Consult NixOS manual for more https:// | ||
+ | |||
+ | |||
+ | ===== Legacy OpenVZ templates ===== | ||
+ | |||
+ | <note important> | ||
==== Common issues ==== | ==== Common issues ==== | ||
Řádek 76: | Řádek 87: | ||
ERRNO=40 | ERRNO=40 | ||
MESSAGE=Failed to canonicalize path / | MESSAGE=Failed to canonicalize path / | ||
- | |||
- | $ # strace output | ||
- | open("/ | ||
- | readlinkat(AT_FDCWD, | ||
- | open("/ | ||
- | fcntl(12, F_GETFL) | ||
- | fstat(12, {st_mode=S_IFREG|0444, | ||
- | fstat(12, {st_mode=S_IFREG|0444, | ||
- | getpid() | ||
- | fstat(12, {st_mode=S_IFREG|0444, | ||
- | read(12, "# | ||
- | open("/ | ||
- | read(13, " | ||
- | close(13) | ||
- | read(12, "", | ||
- | close(12) | ||
- | open("/", | ||
- | openat(12, " | ||
- | fstat(13, {st_mode=S_IFDIR|0755, | ||
- | close(12) | ||
- | openat(13, " | ||
- | fstat(12, {st_mode=S_IFDIR|0755, | ||
- | close(13) | ||
- | openat(12, " | ||
- | close(12) | ||
- | writev(3, [{" | ||
- | open("/", | ||
- | openat(12, " | ||
- | fstat(13, {st_mode=S_IFDIR|0755, | ||
- | close(12) | ||
- | openat(13, " | ||
- | fstat(12, {st_mode=S_IFDIR|0755, | ||
- | close(13) | ||
- | openat(12, " | ||
- | close(12) | ||
- | writev(3, [{" | ||
- | open("/ | ||
- | readlinkat(AT_FDCWD, | ||
- | open("/ | ||
- | fcntl(12, F_GETFL) | ||
- | </ |