Skip to content

Instantly share code, notes, and snippets.

@Ma27
Created December 29, 2017 14:11
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 Ma27/1cecebc92a22b60e4468afa2ae428479 to your computer and use it in GitHub Desktop.
Save Ma27/1cecebc92a22b60e4468afa2ae428479 to your computer and use it in GitHub Desktop.
NixOps output
{
network.description = "Description";
network.enableRollback = true;
node1 = {
deployment.targetEnv = "libvirtd";
deployment.libvirtd = {
memorySize = 1024;
headless = true;
};
networking.firewall.allowedTCPPorts = [ 5432 ];
};
}
node1> these derivations will be built:
node1> /nix/store/wds74n3rh3cfidy16rsnr7fk0hlbb2iz-libvirtd-image.drv
node1> /nix/store/pg96hqi46h6b19l8dvwc6v30rxqxhkl7-libvirtd-ssh-image.drv
node1> building '/nix/store/wds74n3rh3cfidy16rsnr7fk0hlbb2iz-libvirtd-image.drv'...
node1> Formatting '/nix/store/yjq7xsa5nvibd0spz8p72hlfr4sw4ajr-libvirtd-image/image', fmt=qcow2 size=10737418240 cluster_size=65536 lazy_refcounts=off refcount_bits=16
node1> cSeaBIOS (version rel-1.11.0-0-g63451fca13-prebuilt.qemu-project.org)
node1>
node1>
node1> iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+2FF912F0+2FEF12F0 C980
node1>
node1>
node1>
node1> Booting from ROM...
node1> Probing EDD (edd=off to disable)... ocloading kernel modules...
node1> mounting Nix store...
node1> mounting host's temporary directory...
node1> starting stage 2 (/nix/store/r32wfcabkjn235wdr29c8d5bl89rl5hn-vm-run-stage2)
node1> Information: You may need to update /etc/fstab.
node1>
node1> Information: You may need to update /etc/fstab.
node1>
node1> mknod: /dev/vda1: File exists
node1> [ 0.837350] reboot: Power down
node1> builder for '/nix/store/wds74n3rh3cfidy16rsnr7fk0hlbb2iz-libvirtd-image.drv' failed with exit code 1
node1> cannot build derivation '/nix/store/pg96hqi46h6b19l8dvwc6v30rxqxhkl7-libvirtd-ssh-image.drv': 1 dependencies couldn't be built
node1> error: build of '/nix/store/pg96hqi46h6b19l8dvwc6v30rxqxhkl7-libvirtd-ssh-image.drv' failed
error: command ‘['nix-build', '-I', 'nixops=/nix/store/i9j7bm77bl0ad4wqqbfqmc3w60n9zxgr-nixops-1.5.2/share/nix/nixops', '--arg', 'networkExprs', '[ "/home/ma27/Projects/node1/nixops/libvirtd.nix" "/home/ma27/Projects/node1/nixops/cluster.nix" ]', '--arg', 'args', '{}', '--argstr', 'uuid', u'04f64d68-eca1-11e7-81f8-024295226d2c', '--argstr', 'deploymentName', u'node1', '<nixops/eval-machine-info.nix>', '--arg', 'checkConfigurationOptions', 'false', '-A', 'nodes.node1.config.deployment.libvirtd.baseImage', '-o', '/tmp/nixops-tmpKTt4OT/libvirtd-image-node1']’ failed on machine ‘node1’ (exit code 100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment