Commit Graph
116 Commits
Author SHA1 Message Date
Janik H fbfd7567c2 make-disk-image: allow secrets-pre-install but after portioning 2023-09-25 16:45:37 +00:00
cvoges12 4a4d77a9ae added raid5 and raid6 to lvm 2023-09-25 14:09:47 +00:00
Sam Hug a14a3fb0a8 zfs_volume: fix /dev/zvol/ symlink race 2023-09-25 08:57:40 +00:00
lassulus 98a6ab9b52 make-disk-image: fix pre/post files with empty glob 2023-09-22 10:56:30 +00:00
lassulus 9f29cedac7 rename makeDiskImage -> makeDiskImages 2023-09-18 12:16:33 +00:00
Jörg Thalheim 9ab96378f8 reformat tree 2023-09-17 04:43:25 +00:00
David Arnold 0faae8adf6 fix: avoid external probing effects from other devices 2023-09-15 20:04:52 +00:00
Rudolf Vesely 8aa6ec5ff2 Changing how to open LUKS. 2023-09-15 07:39:16 +00:00
Rudolf Vesely 91af5b4a53 Add extra args into swap. 2023-09-14 17:02:49 +00:00
lassulus 689873ae4f types *: run udevadm settle after partprobe 2023-09-13 22:07:35 +00:00
Rudolf Vesely 38daf3c84a Specify alignment for sgdisk. 2023-09-13 21:53:35 +00:00
lassulus 79785c1cfc add pkgs.parted where partprobe is needed 2023-09-12 09:45:57 +00:00
lassulus 7036bb8b30 disk-deactivate: execute directly instead of echoing script 2023-09-12 08:41:56 +00:00
Rudolf Vesely fc6f863fe1 Fix problem with missing part. labels. 2023-09-11 19:42:40 +00:00
DavHau 321d75becb types/zpool: use enum type for mode 2023-09-04 23:02:33 +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 c4f2de908d fix evaluation of checks on non-x86_64-linux
run nix fmt
2023-09-02 18:37:01 +02:00
Jörg Thalheim 9de99e174c run nix-fmt 2023-09-02 18:08:41 +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
Florian Engel bf50636a65 Remove trialing newline in passwordFile 2023-08-16 15:19:21 +00:00
Florian Engel 3eb703b7bc Rename keyFile to passwordFile and dedeprecate 2023-08-16 15:19:21 +00:00
Jörg Thalheim 358b87fd44 make tests risv64 compatible 2023-08-13 18:30:15 +00:00
Jörg Thalheim 241c878d4b drop deprecated boot.initrd.services.swraid.enable option 2023-08-11 08:45:46 +00:00
Jörg Thalheim b32f0e2876 apply treefmt 2023-08-11 08:45:46 +00:00
ktrinh-anduril ceabbec315 Added missing dependency to destroyScript (#318)
* Added bash to destroScript dep

* Added jq directly as dep for destroyScript
2023-08-10 22:29:40 +02:00
lassulus 32e7d56c08 make-disk-image: get nixos-install from the instantiated system 2023-08-10 15:08:59 +02:00
lassulus 491e567d47 tests: enable swraid, add luks-on-mdadm test 2023-08-10 11:03:58 +00:00
lassulus ab5f8eea75 make-disk-image: add impure variant 2023-08-07 15:57:14 +00:00
Jörg Thalheim 493b347d8f disko: drop binPrefix when building destroyScript
This seems to cause eval errors and I also don't know where this is supposed to come from
2023-08-06 16:28:59 +00:00
a-kenji 4015740375 fix: typos 2023-07-30 17:43:54 +00:00
lassulus 5e253d949f makeDiskImage: add extraPostVM arg 2023-07-28 12:43:42 +00:00
lassulus 8edfd2295c fixup! types disk: add imageSize for makeDiskImage 2023-07-28 12:43:42 +00:00
lassulus 578ad4ef34 types disk: add imageSize for makeDiskImage 2023-07-28 12:43:42 +00:00
lassulus a8834f94f3 lib: add makeDiskImage 2023-07-28 12:43:42 +00:00
lassulus 5c5279567f types mdadm: enable swraid 2023-07-28 12:43:42 +00:00
lassulus 0e40d07f86 lib/tests: cleanup 2023-07-28 12:43:42 +00:00
lassulus 0d2ae00b00 testLib.makeDiskoTest: remove base & minimal profile 2023-07-28 12:43:42 +00:00
rogarb 140edd2d01 fix(btrfs): automatic setting of fileSystems
Subvolumes without a mountpoint shouldn't be declared as fileSystems.
2023-07-27 08:55:04 +00:00
rogarb 818207b99b fix(btrfs): add warning for subvolume mounts 2023-07-27 08:55:04 +00:00
rogarb 4f1cc11c51 fix(btrfs): subvolume mount behaviour
Since subvolumes appear automatically when their parent is mounted, no
action is required until the user wants them to be mounted somewhere
else.
This allows access to the volume manager capabilities of BTRFS.
2023-07-27 08:55:04 +00:00
Jared Baur 5b19fb2e74 Fix msdos partition table creation
The partition fs-type was specified twice on partition creation when the
msdos partition table type is used. Fix this to only be specified once.
2023-07-25 09:44:19 +00:00
rogarb 78eee2c7b2 fix(luks): type error with keyfile size/offset 2023-07-21 23:11:32 +02:00
lassulus 7a37b47634 lib makeDiskoTest: create -> format 2023-07-21 14:25:51 +02:00
lassulus 737a21794c lib makeDiskoTest: set networking.hostId to non null value 2023-07-20 21:51:54 +02:00
lassulus 1ddcff717c module: pass makeTest and eval-config to diskoLib 2023-07-20 21:32:53 +02:00
lassulus 2800cf502a tests cli: use direct mode 2023-07-20 19:17:11 +02:00
lassulus 2b728ffe02 libTests prepareDisks: set grub.devices to nodev if empty 2023-07-20 19:03:26 +02:00
lassulus 4df1400b38 makeDiskoTest: remove deprecated grub-devices 2023-07-20 18:31:53 +02:00
lassulus fc98920ef5 lib makeDiskoTest: use systemd-boot if efi is enabled 2023-07-20 18:31:17 +02:00