Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
We don't generate ecdsa keys by default anymore, so print ed25519
instead if available.
|
|
- Replace usage of deprecated CLI flag `--daemon`
- Introduce `storageDriver` option for module
- Fix failing test by using `overlay` storage driver
|
|
|
|
openvswitch service: fix ipsec startup order
|
|
|
|
The default should be [], no need to check it for INTERFACES
variable.
|
|
It uses systemd-nspawn's --network-interface to move
existing interfaces into the container.
|
|
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>
|
|
VirtualBox is an application, not a system service.
|
|
(cherry picked from commit 55d97862890350a3cc069d547114c1a880f2e583)
|
|
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.
|
|
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>
|
|
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>
|
|
xen: fixes (authored by michalpalka)
|
|
(cherry picked from commit c52a98380673093037a3116025d0aa92cd46a214)
|
|
My use-case: passing -H SOM.EIP.ADD.RES:PORT doesn't result in a .sock
file so the service would never go up.
|
|
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.
|
|
|
|
Xen related stuff
|
|
|
|
|
|
https://github.com/NixOS/nixops/issues/267
|
|
|
|
|
|
This is required by the GRUB 1 test.
|
|
|
|
|
|
|
|
Now with VM tests!
|
|
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.
|
|
Use mktemp to create temporary files to hold ssh host keys and authorized keys
|
|
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.
|
|
Scripts are run with -e so will abort when a command fails.
|
|
|
|
keys when downloading them from the metadata server.
|
|
Setting to 0 results in empty grub config.
|
|
openvswitch: ipsec support
|
|
nixos/docker: set extraOptions to separatedString type
|
|
|
|
nixos: Fixes eval and build error of nova image builder
|
|
|
|
Conflicts:
nixos/modules/virtualisation/azure-image.nix
|
|
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]
|
|
And move the '--verbose' flag to extraOptions, so that users can easily
disable it.
|
|
|
|
|
|
ec2.metadata = true, as the existing (default) blackhole will not be cleared.
(cherry picked from commit ccf672ca6b055e5e862e45b65d122754c16cf7d1)
|
|
This service only needs to run once on system startup, so it doesn't
need to be restarted by switch-to-configuration.
|