AP
Size: a a a
AP
MG
MG
MG
SU
systemctl enable systemd-nspawn@archlinuxнапример, куда девать то что идет после собаки?
SU
services.systemd-nspawn@archlinux.enable = true;не работет разумеется
SM
systemctl enable systemd-nspawn@archlinuxнапример, куда девать то что идет после собаки?
systemd-nspawn
можно посмотреть опции systemd.nspawn
и containers
в man configuration.nix
SU
systemd-nspawn
можно посмотреть опции systemd.nspawn
и containers
в man configuration.nix
SM
systemd.spawn.<name>.enable
SU
systemd.spawn.<name>.enable
If set to false, this unit will be a symlink to /dev/null. This is primarily useful to prevent specific template instances (e.g. serial-getty@ttyS0) from being started. Note that enable=true does not make a unit start by default at boot; if you want that, see wantedBy.
SM
SU
SU
{config, pkgs, ...}:
{
systemd.targets.machines.enable = true;
#services.systemd-nspawn@archlinux = true;
systemd.nspawn.archlinux = {
enable = true;
wantedBy = [ "machines.target" ];
execConfig = {
Boot = true;
LimitCPU = "150%";
};
filesConfig.Bind = ["/media/storage/buildbot/packages:/output"];
networkConfig.VirtualEthernet = false;
};
}
SM
SU
SM
SU
SM
services.systemd-nspawn@archlinux.enable = true;не работет разумеется
SU
TZ