Skip to content

Instantly share code, notes, and snippets.

@lheckemann
Created April 15, 2017 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lheckemann/c9640a0955695e5cc30fc467832d0701 to your computer and use it in GitHub Desktop.
Save lheckemann/c9640a0955695e5cc30fc467832d0701 to your computer and use it in GitHub Desktop.
{
example = {
deployment.targetEnv = "libvirtd";
deployment.libvirtd.headless = true;
};
}
$ nixops deploy -d test spec.nix deployment.nix
example> starting...
example> error: Failed to create domain from /tmp/nixops-tmpwvIRjP/example-domain.xml
example> error: internal error: Child process (LC_ALL=C PATH=/nix/store/j7hjvhc719mwvpq2041sfdw4i44q9b69-iptables-1.6.1/bin:/nix/store/smwf8xzcmikii2rk63217qhjinlb0mgv-iproute2-4.9.0/bin:/nix/store/2427iz938wyg1sdpr1q2blqxd4w0b4yy-pm-utils-1.4.1/bin:/nix/store/2q5avk6qbqxymcnn1fv7fv418rnvaclr-numad-0.5/bin:/nix/store/1b8zlahq3hmjk34aslbgxlj25nb01wk1-numactl-2.0.10/bin:/nix/store/7zgygl4lcwzicsfqfkalscy9cyj1lrlz-bridge-utils-1.5/bin:/nix/store/rnq7mbrqsy4f4yfi5fcaccjis8gmvl38-dmidecode-3.0/bin:/nix/store/jzs2pn35fsanb7d36920h93pmwgij7wd-dnsmasq-2.76/bin:/nix/store/4kjrb5h3fdw5abpdz7s90gxzqrb4w1l4-ebtables-2.0.10-4/bin:/nix/store/rr9ayf1x34dlx0ady9crlplxxhav6km6-qemu-x86-only-2.8.0/bin:/nix/store/4d6f8hg5gv20nsbq7b52qzn6bcs4fvlh-coreutils-8.26/bin:/nix/store/f3vl26f3n18khgq1kybnzvwjbm0r9grg-findutils-4.6.0/bin:/nix/store/28kkn4w4k4ay6aihbi1x1hpmicz3wq88-gnugrep-3.0/bin:/nix/store/0xwrn1p8fp8h3cynszpgbmhmydbzhns5-gnused-4.4/bin:/nix/store/5swjdn16ivaqp8x35df8w6n1h5miyv0a-systemd-232/bin:/nix/store/7zgygl4lcwzicsfqfkalscy9cyj1lrlz-bridge-util
example>
error: command ‘['virsh', '-c', 'qemu:///system', 'create', '/tmp/nixops-tmpwvIRjP/example-domain.xml']’ failed on machine ‘example’ (exit code 1)
{
example = { config, pkgs, lib, ... }: {};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment