From 8da2a637422db3c5eac114e7050c2954a862c005 Mon Sep 17 00:00:00 2001 From: Karel Simon Date: Mon, 11 Jan 2021 11:02:31 +0100 Subject: [PATCH] When VMIO migrates a VM from RHV, it needs to be able to set the disk bus to "scsi". (#300) This commit adds support for scsi in windows validation. Signed-off-by: Karel Simon --- templates/windows10.tpl.yaml | 4 ++-- templates/windows2k12.tpl.yaml | 4 ++-- templates/windows2k16.tpl.yaml | 4 ++-- templates/windows2k19.tpl.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/windows10.tpl.yaml b/templates/windows10.tpl.yaml index 5ace445b..e86e8ede 100644 --- a/templates/windows10.tpl.yaml +++ b/templates/windows10.tpl.yaml @@ -67,8 +67,8 @@ objects: "path": "jsonpath::.spec.domain.devices.disks[*].disk.bus", "valid": "jsonpath::.spec.domain.devices.disks[*].disk.bus", "rule": "enum", - "message": "disk bus has to be either virtio or sata", - "values": ["virtio", "sata"] + "message": "disk bus has to be either virtio or sata or scsi", + "values": ["virtio", "sata", "scsi"] }, { "name": "windows-cd-bus", "path": "jsonpath::.spec.domain.devices.disks[*].cdrom.bus", diff --git a/templates/windows2k12.tpl.yaml b/templates/windows2k12.tpl.yaml index bbdb2e2b..bb8b56f6 100644 --- a/templates/windows2k12.tpl.yaml +++ b/templates/windows2k12.tpl.yaml @@ -67,8 +67,8 @@ objects: "path": "jsonpath::.spec.domain.devices.disks[*].disk.bus", "valid": "jsonpath::.spec.domain.devices.disks[*].disk.bus", "rule": "enum", - "message": "disk bus has to be either virtio or sata", - "values": ["virtio", "sata"] + "message": "disk bus has to be either virtio or sata or scsi", + "values": ["virtio", "sata", "scsi"] }, { "name": "windows-cd-bus", "path": "jsonpath::.spec.domain.devices.disks[*].cdrom.bus", diff --git a/templates/windows2k16.tpl.yaml b/templates/windows2k16.tpl.yaml index 6dcbd050..d991f873 100644 --- a/templates/windows2k16.tpl.yaml +++ b/templates/windows2k16.tpl.yaml @@ -67,8 +67,8 @@ objects: "path": "jsonpath::.spec.domain.devices.disks[*].disk.bus", "valid": "jsonpath::.spec.domain.devices.disks[*].disk.bus", "rule": "enum", - "message": "disk bus has to be either virtio or sata", - "values": ["virtio", "sata"] + "message": "disk bus has to be either virtio or sata or scsi", + "values": ["virtio", "sata", "scsi"] }, { "name": "windows-cd-bus", "path": "jsonpath::.spec.domain.devices.disks[*].cdrom.bus", diff --git a/templates/windows2k19.tpl.yaml b/templates/windows2k19.tpl.yaml index 1715ddf0..f8dc39ce 100644 --- a/templates/windows2k19.tpl.yaml +++ b/templates/windows2k19.tpl.yaml @@ -67,8 +67,8 @@ objects: "path": "jsonpath::.spec.domain.devices.disks[*].disk.bus", "valid": "jsonpath::.spec.domain.devices.disks[*].disk.bus", "rule": "enum", - "message": "disk bus has to be either virtio or sata", - "values": ["virtio", "sata"] + "message": "disk bus has to be either virtio or sata or scsi", + "values": ["virtio", "sata", "scsi"] }, { "name": "windows-cd-bus", "path": "jsonpath::.spec.domain.devices.disks[*].cdrom.bus",