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
lassulus
bfc300b1c2
tests boot-raid1: use grub as systemd-boot is broken with raid1 /boot
2023-07-20 18:43:30 +02:00
lassulus
4df1400b38
makeDiskoTest: remove deprecated grub-devices
2023-07-20 18:31:53 +02:00
lassulus
5ad79f43df
add legacy-table test & example
2023-07-19 19:07:40 +00:00
lassulus
715c211dd7
testLib.makeDiskoTest: split extraConfig into nixos-config, extraSystemConfig & extraInstallerConfig
2023-07-19 19:07:40 +00:00
lassulus
056637d3c9
move tests/lib.nix into diskoLib.testLib
2023-07-19 19:07:40 +00:00
lassulus
cd38be93db
tests: refactor into testlib; change config devices via fold
2023-07-19 19:07:40 +00:00
arch
7eb0940839
add additionalKeyFiles option to luks
2023-07-14 08:51:17 +00:00
lassulus
c5a31c351e
tests zfs: don't read key from prompt
2023-07-11 09:29:28 +02:00
lassulus
b22ebd5ecd
tests: get rid of OCR, generate keyFile in preDevice
2023-07-11 09:12:45 +02:00
Jörg Thalheim
1cd619f26f
stop vendoring bcachefs
...
the bcachefs linux fork in nixpkgs is in better shape these days
2023-07-05 09:48:02 +02:00
lassulus
93632ac0ae
tests: use diskoScript output
2023-06-16 21:11:44 +02:00
lassulus
6e01bdc086
tests: use module mode by default, export installed-system
2023-06-16 21:11:44 +02:00
Jörg Thalheim
a8d85d9f89
apply deadnix
2023-06-06 13:32:47 +02:00