Commit graph

119 commits

Author SHA1 Message Date
Matthew_Cash
b6a1262796 lvm_vg: add lvm thinpool/thinlv support
Co-authored-by: ajs124 <git@ajs124.de>
2024-06-26 11:36:52 +00:00
Jörg Thalheim
804ab2de77 treewide: reformat with nix fmt 2024-06-09 06:40:59 +00:00
Jörg Thalheim
398acc470f update to new nixos test api 2024-06-07 14:20:40 +00:00
Jörg Thalheim
babc1554e8 drop duplicated disko-install definition 2024-05-07 08:53:10 +02:00
Jörg Thalheim
cdefe26742 load database with checksum again but do the same in disko-install 2024-05-07 08:53:10 +02:00
Kira Bruneau
79eab0e82c types btrfs: fix format without swap or subvolumes 2024-04-08 21:37:04 +00:00
lassulus
e18e85ba3f tests/make-disk-image: increase memSize 2024-04-08 18:40:31 +02:00
Jörg Thalheim
72818e54ec move disko-install into disko package 2024-03-09 07:05:35 +00:00
Jörg Thalheim
0d11aa8d64 disko-install: add extra-files option 2024-03-05 09:52:34 +00:00
lassulus
05f0e3fd56 lib/tests: use startCommand for create_machine 2024-03-05 08:56:58 +01:00
Jörg Thalheim
0c9b003a48 bcachefs: drop zfs hack 2024-03-05 08:56:58 +01:00
lassulus
561579a631 add long-device-name test & example 2024-03-04 14:55:56 +01:00
Jörg Thalheim
bde7dd352c add disko-install command
disko-install combines disko and nixos-install into a single command.

Example usage:

  sudo ./disko-install --flake /someflake#eva --disk sda /dev/zvol/zroot/test
2024-03-01 09:48:08 +00:00
danjujan
f7424625dc
Rework Hybrid MBR https://github.com/nix-community/disko/pull/168 (#508)
Add hybrid MBR functionality to the gpt type
2024-01-26 21:59:23 +01:00
Jörg Thalheim
c12719812d bcachefs: stick to nixos's default bcachefs kernel 2024-01-26 09:38:59 +00:00
Jörg Thalheim
38af7137e0 tests/bcachefs: switch to linux_latest 2024-01-15 14:29:04 +00:00
Michael Hoang
583bdf4fc6 tests: check canmount ZFS flag is respected 2024-01-01 01:09:11 +00:00
Michael Hoang
4346558fd4 tests: add test for running ZFS as not the rootfs 2023-12-19 23:49:20 +11:00
Jörg Thalheim
98ab911097 bcachefs: set testing kernel for bcachefs
still waiting for the slow upstream review...
2023-12-14 16:02:39 +00:00
lassulus
e7ed2e9239 tests bcachefs: use linux_testing 2023-12-14 16:02:39 +00:00
lassulus
41d3be72d7 tests *: don't test for zfs in /dev 2023-12-14 16:02:39 +00:00
Jörg Thalheim
1144887c6f lvm: update kernel modules when creating raid 2023-12-06 23:28:45 +00:00
Jörg Thalheim
3cb78c93e6 swap: don't activate random encrypted swap files
This requires more code and is not implemented just now.
2023-11-25 15:47:29 +00:00
Andrew Marshall
2d7d77878c Implement preMountHook & postMountHook
These options previously existed but had no effect. Now they are
implemented. They only affect mount during disko’s filesystem creation,
not during any later mounts.

Adding test case to existing “complex” example and test mostly because
couldn’t think of any better place to put it.
2023-11-12 09:36:50 +00:00
Aleksander Heintz
72bc152626 add btrfs swap support 2023-11-08 22:36:40 +00:00
lassulus
9f29cedac7 rename makeDiskImage -> makeDiskImages 2023-09-18 12:16:33 +00:00
lassulus
be98cffef0 example: add mdadm-raid0 2023-09-12 09:45:57 +00:00
DavHau
b755564539 examples: use zstd compression as default 2023-09-04 23:02:07 +02:00
Jörg Thalheim
ecfb74e5cf remove another instance of hostId 2023-09-02 17:55:49 +00:00
Jörg Thalheim
a4bf32f6f0
Merge pull request #341 from nix-community/zfs-hostid
do not set networking.hostId in vm tests by default
2023-09-02 18:41:18 +02:00
Jörg Thalheim
76d301bc94 tests/complex: also mark zfs_fs dataset as non-fail
Reason is probably same as zfs_legacy_fs
2023-09-02 18:37:01 +02:00
Jörg Thalheim
c4f2de908d fix evaluation of checks on non-x86_64-linux
run nix fmt
2023-09-02 18:37:01 +02:00
Jörg Thalheim
de50df482e do not set networking.hostId in vm tests by default
This will conflict with the user defaults otherwise
2023-09-02 14:16:18 +02:00
lassulus
4eed2457b0 tests luks-interactive: do luks unlock manually 2023-08-16 15:19:21 +00:00
Florian Engel
bf50636a65 Remove trialing newline in passwordFile 2023-08-16 15:19:21 +00:00
Jörg Thalheim
6388d2859c find more broken riscv64 tests 2023-08-14 07:59:55 +00:00
Jörg Thalheim
358b87fd44 make tests risv64 compatible 2023-08-13 18:30:15 +00:00
Jörg Thalheim
b32f0e2876 apply treefmt 2023-08-11 08:45:46 +00:00
Jörg Thalheim
049d1bd952 silence eval warnings in make-disk-image tests 2023-08-11 08:45:46 +00:00
lassulus
7178a815e9 tests: disable documentation 2023-08-10 12:18:39 +00:00
lassulus
0725574ad8 move standalone test to separate file 2023-08-10 12:18:39 +00:00
lassulus
491e567d47 tests: enable swraid, add luks-on-mdadm test 2023-08-10 11:03:58 +00:00
lassulus
8ae297f5e9 tests: add make-disk-image-impure 2023-08-07 15:57:14 +00:00
lassulus
43f17a8b31 tests: add make-disk-image test 2023-07-28 12:43:42 +00:00
lassulus
04e227bab7 tests: pass diskoLib instead of makeDiskoTest 2023-07-28 12:43:42 +00:00
Lassulus
4aa3641e27
Merge pull request #305 from tiredofit/luks_btrfs_example
Create luks-btrfs-subvolumes.nix
2023-07-27 18:05:55 +02:00
Dave Conroy
d306d84fb0
Add test for examples/luks-btrfs-subvolumes.nix 2023-07-27 07:21:07 -07:00
rogarb
730353966b tests(btrfs): update to fit new behaviour 2023-07-27 08:55:04 +00:00
lassulus
2800cf502a tests cli: use direct mode 2023-07-20 19:17:11 +02:00
lassulus
7e2a3475f0 tests lvm-raid: use grub as systemd-boot is broken with raid1 /boot 2023-07-20 19:03:26 +02:00