diff options
author | Eamonn O'Toole <eamonn.otoole@hpe.com> | 2017-03-16 16:12:22 +0000 |
---|---|---|
committer | Alvaro <alvaro.saurin@gmail.com> | 2017-03-22 12:19:05 +0100 |
commit | a07e21b74726d9ce443ac9332417c169b2ccd708 (patch) | |
tree | cf8e1bee9cc6ed8c4fa37b56440615397f953c91 /libvirt/resource_libvirt_coreos_ignition_test.go | |
parent | 68630335a6c23ab544661b8ef9c6692df886fd7d (diff) | |
download | terraform-provider-libvirt-a07e21b74726d9ce443ac9332417c169b2ccd708.tar terraform-provider-libvirt-a07e21b74726d9ce443ac9332417c169b2ccd708.tar.gz |
Add scsi controller option and wwn to virtual disks
We've added the facility to define a disk bus type of scsi to the
specification of a disk in the domain definition. If the disk is
a scsi disk, a random wwn is generated unless a wwn is provided for
that disk.
The disk stanza now looks as follows:
disk {
volume_id = "${libvirt_volume.mydisk.id}"
scsi = "yes"
wwn = "05abcd123456789a"
}
Having "scsi" present with any value will specify a scsi bus for
the disk. If "wwn" is present for a scsci disk then the value of
"wwn" is used for the disk wwn, otherwise a random value is generated.
Diffstat (limited to 'libvirt/resource_libvirt_coreos_ignition_test.go')
0 files changed, 0 insertions, 0 deletions