about summary refs log tree commit diff
path: root/nixos/modules/virtualisation
AgeCommit message (Collapse)AuthorFilesLines
2015-09-13nixos/lxd: Add serviceWilliam A. Kennington III1-0/+64
2015-09-11nixos containers: fix system path when reloadingLuca Bruno1-1/+1
2015-09-08nixos-container: Fix show-host-keyEelco Dolstra1-1/+2
We don't generate ecdsa keys by default anymore, so print ed25519 instead if available.
2015-09-04docker: Minor improvements, fix failing testRagnar Dahlén1-2/+13
- Replace usage of deprecated CLI flag `--daemon` - Introduce `storageDriver` option for module - Fix failing test by using `overlay` storage driver
2015-09-02nixos: kill services.virtualboxGuest to fix #9600Vladimír Čunát1-1/+1
2015-08-29Merge pull request #9528 from offlinehacker/nixos/openvswitch/startup_fixJaka Hudoklin1-3/+3
openvswitch service: fix ipsec startup order
2015-08-29openvswitch service: fix ipsec startup orderJaka Hudoklin1-3/+3
2015-08-26containers: fix interfaces option bugsBoris Sukholitko1-3/+1
The default should be [], no need to check it for INTERFACES variable.
2015-08-22containers: add interfaces config option.Boris Sukholitko1-0/+16
It uses systemd-nspawn's --network-interface to move existing interfaces into the container.
2015-08-13nixos/vbox: Move all options to virtualisation.*.aszlig2-15/+6
Commit 687caeb renamed services.virtualboxHost to programs.virtualbox, but according to the discussion on the commit, it's probably a better to put it into virtualisation.virtualbox instead. The discussion can be found here: https://github.com/NixOS/nixpkgs/commit/687caeb#commitcomment-12664978 Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-08-12Rename services.virtualboxHost -> programs.virtualboxEelco Dolstra1-3/+3
VirtualBox is an application, not a system service.
2015-08-08Add initial Brightbox expression.Rob Vermaas2-0/+171
(cherry picked from commit 55d97862890350a3cc069d547114c1a880f2e583)
2015-08-04Merge branch 'vboxguest-sbin-removal'.aszlig1-1/+1
This removes all references to .../sbin for the guest additions and also installs all binaries to .../bin instead (so no more .../sbin). The main motivation for doing this is commit 98cedb3 (which unfortunately had to be reverted in a9f2e10) and pull request #9063, where the latter is an initial effort to move mount.vboxsf to .../bin instead of .../sbin. The commit I made afterwards is finishing the removal of .../sbin entirely.
2015-08-04nixos: Give virtualbox-host.nix a better location.aszlig1-0/+115
In 14f09e0, I've introduced the module under modules/programs, because the legacy virtualbox.nix was also under that path. But because we already have modules/virtualisation/virtualbox-guest.nix, it really makes sense to put this module alongside of it as well. This module thus has no change in functionality and I've tested evaluation against nixos/tests/virtualbox.nix and the manual. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-08-04vbox-guest: Remove all references to sbin/.aszlig1-1/+1
Using $storepath/sbin is deprecated according to commit 98cedb3, so let's avoid putting anything in .../sbin for the guest additions. This is a continuation of the initial commit done by @ctheune at 1fb1360, which unfortunately broke VM tests and only changed the path of the mount.vboxsf helper. With this commit, the VM test is fixed and I've also verified on my machine that it is indeed working again. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-08-01Merge pull request #8833 from ts468/upstream.xents4681-1/+9
xen: fixes (authored by michalpalka)
2015-07-22Use ConditionVirtualization to disable some services in containersEelco Dolstra1-4/+0
(cherry picked from commit c52a98380673093037a3116025d0aa92cd46a214)
2015-07-20docker: allow the user to override postStartMateusz Kowalczyk1-5/+16
My use-case: passing -H SOM.EIP.ADD.RES:PORT doesn't result in a .sock file so the service would never go up.
2015-07-15xen: fixes (authored by michalpalka)Thomas Strobel1-1/+9
Xen required a few changes in order to be usable: * Include xenfs module in initrd as loading it in the activation script was failing. * Include /etc/default/xendomains, which is needed by xen-domains service. * Create /var/log/xen and /var/lib/xen directories in the xen-store service, which are needed by the xl command. The directories could be created by any other script as long as they are guaranteed to exist before xl is called. * Fix a reference to /bin/ls in the xendomains script.
2015-07-05nixos docker: fix service and testLuca Bruno1-0/+3
2015-07-04Merge pull request #8603 from ts468/upstream.xenMateusz Kowalczyk1-11/+90
Xen related stuff
2015-07-02Xen Dom0: add dnsmasq to xen-bridge.Thomas Strobel1-11/+90
2015-06-30Remove option ec2.metadataEelco Dolstra2-11/+0
2015-06-30EC2: Don't blackhole 169.254.169.254Eelco Dolstra1-10/+0
https://github.com/NixOS/nixops/issues/267
2015-06-26nixos: Replace pkgs.openssh with config.programs.ssh.packageWilliam A. Kennington III2-2/+2
2015-06-21fix argument in mkEnableOptionArseniy Seroka1-1/+1
2015-06-17Installer test: Fix booting from SCSIEelco Dolstra1-4/+21
This is required by the GRUB 1 test.
2015-06-13Use the right nix when doing things in our amazoninitDan Peebles1-1/+1
2015-06-12Fix: xen-bridge systemd serviceThomas Strobel1-8/+5
2015-06-12Link Xen scripts to /etc/xenThomas Strobel1-6/+8
2015-06-11Initial attempt at configuring from EC2 userdata (with input from cstrahan). ↵Dan Peebles1-0/+52
Now with VM tests!
2015-06-10Installer tests: Don't use the ISOEelco Dolstra1-13/+21
We already have separate tests for checking whether the ISO boots correctly, so it's not necessary to do that here. So now tests/installer.nix just tests nixos-install, from a regular NixOS VM that uses the host's Nix store. This makes running the tests more convenient because we don't have to build a new ISO after every change.
2015-06-02Merge pull request #6732 from oconnorr/masterWout Mertens1-19/+29
Use mktemp to create temporary files to hold ssh host keys and authorized keys
2015-05-29Revert "Set boot.loader.grub.configurationLimit to 1 for gce/azure/amazon ↵William A. Kennington III3-3/+3
images. Setting to 0 results in empty grub config." The issue was that grub was not building the default entry which would leave systems unbootable. This can now be safely reverted as the default entry is being built once again. This reverts commit fd1fb0403c406d1c3aca07735bb247e0643bdb0d.
2015-05-29Remove use of && in fetch-ssh-keys service.Russell O'Connor1-29/+31
Scripts are run with -e so will abort when a command fails.
2015-05-29[GCE] Put temp files for fetch-ssh-keys service in /runRussell O'Connor1-4/+5
2015-05-29Use mktemp to create temporary files to hold ssh host keys and authorized ↵Russell O'Connor1-22/+29
keys when downloading them from the metadata server.
2015-05-29Set boot.loader.grub.configurationLimit to 1 for gce/azure/amazon images. ↵Rob Vermaas3-3/+3
Setting to 0 results in empty grub config.
2015-05-26Merge pull request #7559 from offlinehacker/openvswitch/ipsecMateusz Kowalczyk1-42/+90
openvswitch: ipsec support
2015-05-26Merge pull request #7558 from offlinehacker/nixos/docker/typefixMateusz Kowalczyk1-1/+1
nixos/docker: set extraOptions to separatedString type
2015-05-26nova-image: Delete no longer used commentMateusz Kowalczyk1-3/+0
2015-05-26Merge pull request #7876 from rzetterberg/issue-7869Mateusz Kowalczyk1-3/+6
nixos: Fixes eval and build error of nova image builder
2015-05-20azure-image: common: add sg3_utilsEvgeny Egorochkin1-1/+2
2015-05-20azure-image: fix, split into bootstrap and regular configurationsEvgeny Egorochkin2-31/+61
Conflicts: nixos/modules/virtualisation/azure-image.nix
2015-05-20nixos/libvirtd: remove --verbose flagBjørn Forsman1-1/+1
Because it spams the log: .libvirtd-wrapp[1950]: OBJECT_UNREF: obj=0x7f5d900b4200 .libvirtd-wrapp[1950]: EVENT_POLL_UPDATE_HANDLE: watch=874 events=13 .libvirtd-wrapp[1950]: OBJECT_UNREF: obj=0x7f5d900b4200 .libvirtd-wrapp[1950]: EVENT_POLL_RUN: nhandles=24 timeout=-1 .libvirtd-wrapp[1950]: EVENT_POLL_DISPATCH_HANDLE: watch=874 events=1 .libvirtd-wrapp[1950]: OBJECT_REF: obj=0x7f5d900b4200 .libvirtd-wrapp[1950]: [137B blob data]
2015-05-20nixos/libvirtd: add 'extraOptions' optionBjørn Forsman1-1/+12
And move the '--verbose' flag to extraOptions, so that users can easily disable it.
2015-05-17Fixes eval and build error of nova image builderRichard Zetterberg1-3/+6
2015-05-15VMWare guest support and open-vm-tools packageJussi Maki1-0/+47
2015-05-07Revert restartIfChanged on fetch-ec2-data, as it breaks deployments that set ↵Rob Vermaas1-2/+0
ec2.metadata = true, as the existing (default) blackhole will not be cleared. (cherry picked from commit ccf672ca6b055e5e862e45b65d122754c16cf7d1)
2015-05-04fetch-ec2-data: Don't restartEelco Dolstra1-4/+8
This service only needs to run once on system startup, so it doesn't need to be restarted by switch-to-configuration.