Wim de With
c38f369ee4
make-disk-image: umount filesystems after install
...
The vmTools in nixpkgs shuts the VM down with poweroff -f, which does
not cleanly umount the filesystems. This may lead to filesystem
corruption on the newly created image.
2024-01-12 15:54:48 +00:00
matthewcroughan
4c4634bbcb
make-disk-image: allow extra dependencies to be passed into image builder
2023-12-14 14:24:37 +00:00
matthewcroughan
bb75ad0b1d
make-disk-image: inherit kernel from nixosConfiguration
2023-12-14 14:05:13 +00:00
matthewcroughan
bd8fbc3f27
make-disk-image: make memSize configurable per disk
...
Sometimes the VM builder can run out of memory and fail to allocate memory when installing the system toplevel
2023-12-13 15:02:45 +00:00
Janik H
4fec5f515c
make-disk-image: make generating the image more efficent
2023-11-11 16:14:15 +01:00
Janik H
b6fb19891f
make-disk-image: add --build-memory
2023-11-11 16:14:15 +01:00
Janik H
da38eb67aa
make-disk-image: improve --help
2023-11-11 16:14:15 +01:00
lassulus
d48930701c
lib.makeDiskImages: also execute postVM
2023-09-26 13:29:13 +00:00
Janik H
fbfd7567c2
make-disk-image: allow secrets-pre-install but after portioning
2023-09-25 16:45:37 +00:00
lassulus
98a6ab9b52
make-disk-image: fix pre/post files with empty glob
2023-09-22 10:56:30 +00:00
lassulus
689873ae4f
types *: run udevadm settle after partprobe
2023-09-13 22:07:35 +00:00
lassulus
79785c1cfc
add pkgs.parted where partprobe is needed
2023-09-12 09:45:57 +00:00
Rudolf Vesely
fc6f863fe1
Fix problem with missing part. labels.
2023-09-11 19:42:40 +00:00
Jörg Thalheim
b32f0e2876
apply treefmt
2023-08-11 08:45:46 +00:00
lassulus
32e7d56c08
make-disk-image: get nixos-install from the instantiated system
2023-08-10 15:08:59 +02:00
lassulus
ab5f8eea75
make-disk-image: add impure variant
2023-08-07 15:57:14 +00:00
lassulus
5e253d949f
makeDiskImage: add extraPostVM arg
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