mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
tests: refactor to not use args and to use gpt type
This commit is contained in:
1 parent
c77e66cea1
commit
04452cfd2b
19 files changed
+221
-335
No files matched your search
+4
-4
@@ -1,9 +1,9 @@
|
||||
{ disks ? [ "/dev/vdb" "/dev/vdc" "/dev/vdd" ], ... }: {
|
||||
{
|
||||
disko.devices = {
|
||||
disk = {
|
||||
disk0 = {
|
||||
type = "disk";
|
||||
device = builtins.elemAt disks 0;
|
||||
device = "/dev/disk/by-id/ata-QEMU_HARDDISK_QM00001";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
@@ -21,7 +21,7 @@
|
||||
};
|
||||
disk1 = {
|
||||
type = "disk";
|
||||
device = builtins.elemAt disks 1;
|
||||
device = "/dev/disk/by-id/ata-QEMU_HARDDISK_QM00002";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
@@ -47,7 +47,7 @@
|
||||
};
|
||||
disk2 = {
|
||||
type = "disk";
|
||||
device = builtins.elemAt disks 2;
|
||||
device = "/dev/disk/by-id/ata-QEMU_HARDDISK_QM00003";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
|
||||
Reference in new issue
Block a user