diff options
author | xeji <xeji@cat3.de> | 2018-03-07 18:31:41 +0100 |
---|---|---|
committer | xeji <xeji@cat3.de> | 2018-03-07 22:39:19 +0100 |
commit | 08894b4d8aab6518befd5f813c634b687285031d (patch) | |
tree | fa21e43dc7366feeb854c700bbd6912315c1d439 /nixos/modules/virtualisation/xen-dom0.nix | |
parent | fc790cb0f6c288496f30db88aba91913028e46e8 (diff) |
xen 4.10: link /etc/xen/oxenstored.conf
this is required for oxenstored to start
Diffstat (limited to 'nixos/modules/virtualisation/xen-dom0.nix')
-rw-r--r-- | nixos/modules/virtualisation/xen-dom0.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/xen-dom0.nix b/nixos/modules/virtualisation/xen-dom0.nix index 11aeb31730e9..cf57868acef9 100644 --- a/nixos/modules/virtualisation/xen-dom0.nix +++ b/nixos/modules/virtualisation/xen-dom0.nix @@ -241,6 +241,12 @@ in ''; target = "default/xendomains"; } + ] + ++ lib.optionals (builtins.compareVersions cfg.package.version "4.10" >= 0) [ + # in V 4.10 oxenstored requires /etc/xen/oxenstored.conf to start + { source = "${cfg.package}/etc/xen/oxenstored.conf"; + target = "xen/oxenstored.conf"; + } ]; # Xen provides udev rules. |