fix(partitioning): resolve vmware disks by scsi target instead of the sdX letter

This commit is contained in:
MORAWSKI Norbert
2026-09-15 20:01:40 +02:00
parent a795535305
commit 09064920bc
3 changed files with 69 additions and 0 deletions

View File

@@ -538,6 +538,8 @@ When `hypervisor.type: vmware` uses the `vmware_tools` connection:
`system.disks[0]` is the OS disk (no `mount.path`). Additional entries define data disks.
On VMware, `device` is resolved on the target from the SCSI address instead: entry N is the disk at target N on the first SCSI controller (N+1 from index 7 on, since unit 7 is reserved). The kernel's `sdX` order is not stable between the install environment and the installed system, so a letter-derived path can point at another disk.
| Key | Type | Description |
| ------------- | ------ | ------------------------------------------------------ |
| `size` | number | Disk size in GB (required for virtual) |