Skip to content

Commit

Permalink
add rule for disk bus to be either sata or virtio
Browse files Browse the repository at this point in the history
  • Loading branch information
ksimon1 committed Jul 18, 2019
1 parent 6e5acfc commit e61605e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/win2k12r2.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ metadata:
"message": "virto disk bus type has better performance, install virtio drivers in VM and change bus type",
"values": ["virtio"],
"justWarning": true
}, {
"name": "windows-disk-bus",
"path": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"rule": "enum",
"message": "disk bus has to be either virtio or sata",
"values": ["virtio", "sata"]
}
]
Expand Down

0 comments on commit e61605e

Please sign in to comment.