Skip to content

Commit

Permalink
libvirtd : Add examples of remote instanciation
Browse files Browse the repository at this point in the history
  • Loading branch information
thufschmitt committed Jan 10, 2017
1 parent ff6784a commit 105461c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/trivial-remote-virtd.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
machine =
{ deployment.targetEnv = "libvirtd";
deployment.libvirtd.headless = true;
deployment.libvirtd.targetHost = "my.machine.net";
};
}
12 changes: 12 additions & 0 deletions examples/trivial-virtd-in-vbox.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
vbox =
{ deployment.targetEnv = "virtualbox"; };

machine =
{ resources, ... }:
{ deployment.targetEnv = "libvirtd";
deployment.libvirtd.host = resources.machines.vbox;
deployment.libvirtd.headless = true;
};
}

0 comments on commit 105461c

Please sign in to comment.