Commit graph

46 commits

Author SHA1 Message Date
Adam C. Stephens ec17e680af
lxd: remove packages and modules 2025-09-13 12:47:00 -04:00
Wolfgang Walther 5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
MakiseKurisu d008f045db
nixos/tests/incus: add test for apparmor.service 2025-06-09 00:32:43 +08:00
Adam C. Stephens 21197daa39
incus: build and expose documentation 2025-04-03 16:00:08 +00:00
MakiseKurisu f6128c6050
nixos/tests/incus: add AppArmor test 2025-03-26 21:01:23 +08:00
MakiseKurisu f4fd5a51b5
nixos/tests/incus: fix zfs test configuration 2025-03-26 21:01:15 +08:00
Adam C. Stephens c273acfbfe
incus-ui-canonical: 0.14.6 -> 0.15
lxd upstream changelog:
https://github.com/canonical/lxd-ui/releases/tag/0.15
2025-02-25 21:51:20 -05:00
Adam C. Stephens 272fb5babf
nixos/tests/incus: extend check timeouts 2025-01-25 10:50:36 -05:00
Adam C. Stephens f3a75905ab
nixos/tests/incus: fix subtest names and add reboot check 2025-01-17 10:11:07 -05:00
Adam C. Stephens 274e0fd934
incus: support per-instance lxcfs
This was added in 6.4 and backported to LTS 6.0.2
2025-01-17 10:11:06 -05:00
Adam C. Stephens 9b660dff6d
incus: fix instance shutdown when softDaemonRestart enabled 2025-01-17 10:11:04 -05:00
Adam C. Stephens 9e95bbbc34
nixos/tests/incus: fix multi-system support 2024-12-22 19:33:47 -05:00
Adam C. Stephens 6cd3dd3c64
incus: fix CSM support 2024-12-18 23:45:33 -05:00
Adam C. Stephens d7552b8a2d
incus: refactor tests 2024-12-18 23:45:31 -05:00
Adam C. Stephens 967137ab0e
incus: 6.7.0 -> 6.8.0
https://github.com/lxc/incus/releases/tag/v6.8.0
2024-12-13 20:34:47 -05:00
Adam C. Stephens c494726b98
incus: fix container tests from image rename 2024-11-30 00:08:02 -05:00
Adam C. Stephens 9ab59bb5fb
incus: format 2024-11-30 00:04:54 -05:00
Adam C. Stephens 4238856f15
incus: 6.6.0 -> 6.7.0 (#356230) 2024-11-23 17:46:48 -05:00
Adam Stephens ed24c80ef6
incus: add tpm to container test 2024-11-23 16:37:31 -05:00
Adam Stephens 0e12722d4b
incus: fix tpm support 2024-11-23 16:28:31 -05:00
Adam C. Stephens 496390848d
incus: add lvm to storage test 2024-11-23 13:15:48 -05:00
Adam Stephens 0214dd4ef2
nixos/tests/incus: test incus-user 2024-11-15 23:32:16 -05:00
Matteo Sozzi 389de87aed
lxc: added option for unprivileged containers.
Added extra option to enable unprivileged containers. This includes a
patch to remove the hard-coded path to `lxc-user-nic` and a new security
wrapper to set SUID to `lxc-user-nic`.
2024-08-28 09:18:23 -04:00
Adam Stephens 4d2a0cfb34
nixos/tests/incus: fix container importing 2024-08-28 09:18:17 -04:00
Adam Stephens 094f2b6c9d
nixos/incus: add incus-only vm and container images 2024-08-10 13:23:36 -04:00
Adam Stephens e58c57a868
nixos/tests/incus: enable testing both LTS and non-LTS 2024-05-09 10:03:07 -04:00
Adam Stephens 7d5b333dcd
nixos/incus: add support for soft daemon restart
This is a feature supported out of the box by upstream and allows the
incusd service to be restarted without impacting running
instances. While this does give up a bit of reproducibility, qemu and
lxc for example, there are clear benefits in allowing the host to
apply updates without impacting instances.

Modeled after the zabbly implementation: 2a67c3e260/systemd/incus-startup.service

This will now be the default.
2024-05-09 09:01:12 -04:00
Martin Weinelt 8541ec6d85
nixos/incus: add support for software TPMs
Was previously broken due to a missing runtime dependency.

> Error: Failed to start device "vtpm": Failed to validate environment: Required tool 'swtpm' is missing
2024-04-23 12:04:14 +02:00
Adam Stephens 76c69af624
nixos/lxd-virtual-machine: enable CPU hotplug for x86 VMs 2024-04-18 10:36:55 -04:00
Adam Stephens deb5be50c4
incus: move wrapper to nixos module 2024-03-19 22:48:07 -04:00
Adam Stephens 9d411861b5
nixos/tests/incus: add storage test and exercise zfs integration 2024-03-15 20:39:54 -04:00
cmspam 701fcd7982 nixos/incus: add openvswitch support
1. Added openvswitch integration to incus service.
2. Added tests to test openvswitch functionality with incus.
2024-03-12 01:03:39 +00:00
Maciej Krüger 8a274e0c18
nixosTests.incus.*: enable nftables to fix tests 2024-03-09 17:23:03 +01:00
Adam Stephens 5f1b65f75f
nixos/tests/incus: ensure sysctl rules apply successfully to lxc containers 2024-02-28 11:59:39 -05:00
Maciej Krüger c607e70f70
nixosTests.incus: add test with old and new init 2024-02-20 23:42:59 +01:00
Maciej Krüger f1ed39535e
nixosTests.incus: add ui test 2024-02-17 17:05:35 +01:00
Adam Stephens 5f087b3221
incus: lxd-to-incus is now part of main package
Previously upstream was packaging this separately due to the inclusion
of lxd in the go dependencies. This has been dropped and the package
has been merged into the main go.mod file.
2024-02-02 13:04:13 -05:00
Adam Stephens cdcb919ff7
nixos/tests/incus: check system is running for verifying up
It can can take a few seconds for the generator to initialize in slow
environments. Switch to using systemctl is-system-running which should
reflect the system is fully booted.
2024-02-02 10:13:16 -05:00
Adam Stephens ffdcec2d94
nixos/tests/incus: add lxd-to-incus migration test 2024-01-14 09:26:49 -05:00
Adam Stephens 3f8b1d2d26
nixos/lxd-agent: add system path for exec 2023-12-28 14:27:05 -05:00
Adam Stephens 56e9ca19b3
lxcfs: 4.0.12 -> 5.0.4
Diff: https://github.com/lxc/lxcfs/compare/lxcfs-4.0.12...lxcfs-5.0.4

Changelog: https://linuxcontainers.org/lxcfs/news/
2023-12-21 23:10:27 -05:00
Adam Stephens 6765aac154
treewide/lxc: set lxc team as maintainer 2023-12-04 10:06:50 -05:00
Adam Stephens 2cd9619801
nixos/lxc-container: use lxc systemd generator 2023-11-28 15:14:43 -05:00
Adam Stephens f12af77bd8
nixos/tests/incus: improve test resiliency under load 2023-11-02 22:09:37 -04:00
Adam Stephens 3087595a6b
nixos/incus: preseed should not trigger socket-activation 2023-11-02 19:54:04 -04:00
Adam Stephens 1fff6a9031
nixos/incus: init module and tests 2023-11-02 19:54:02 -04:00