From 1353ed4024f51b5282d25fa784ed8acf5255d3ca Mon Sep 17 00:00:00 2001 From: "lemon.li" Date: Mon, 17 Feb 2025 04:38:24 -0500 Subject: [PATCH] Add nvme unattened test --- schedule/yam/agama_nvme.yaml | 14 ++++++++++++++ test_data/yam/agama_nvme.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 schedule/yam/agama_nvme.yaml create mode 100644 test_data/yam/agama_nvme.yaml diff --git a/schedule/yam/agama_nvme.yaml b/schedule/yam/agama_nvme.yaml new file mode 100644 index 000000000000..bf7974335d56 --- /dev/null +++ b/schedule/yam/agama_nvme.yaml @@ -0,0 +1,14 @@ +--- +name: agama_nvme +description: > + Prepare url for agama.auto boot parameter, perform auto-installation with nvme on agama. +schedule: + - yam/agama/boot_agama + - yam/agama/agama_auto + - installation/grub_test + - installation/first_boot + - console/nvme_checks + - console/validate_partition_table_via_blkid + - console/validate_blockdevices + - console/validate_free_space + - console/validate_read_write diff --git a/test_data/yam/agama_nvme.yaml b/test_data/yam/agama_nvme.yaml new file mode 100644 index 000000000000..0f6e01f6a2f9 --- /dev/null +++ b/test_data/yam/agama_nvme.yaml @@ -0,0 +1,27 @@ +--- +os_release_name: SLES +nvm_disk: nvme0n1 +nvm_char_device: nvme0 +nvme_sys_path: /sys/class/nvme +nvm_disk_size: 22.55 +sn: hd0 +model: QEMU NVMe Ctrl +namespace_count: 1 +nvm_block_size: 512 +nvm_ns: 0x1 +disks: + - name: nvme0n1 + table_type: gpt + partitions: + - name: nvme0n1p1 + fstype: fat + mountpoints: [/boot/efi] + type: part + - name: nvme0n1p2 + fstype: btrfs + mountpoints: ["/var", "/usr/local", "/srv", "/boot/grub2/x86_64-efi", "/home", "/root", "/opt", "/boot/grub2/i386-pc", "/.snapshots", "/"] + type: part + - name: nvme0n1p3 + role: swap + fstype: swap + mountpoints: [SWAP]