diff --git a/internal/guestrequest/types.go b/internal/guestrequest/types.go index 08d2f306fd..e44a6dacec 100644 --- a/internal/guestrequest/types.go +++ b/internal/guestrequest/types.go @@ -32,7 +32,6 @@ type LCOWMappedVirtualDisk struct { type WCOWMappedVirtualDisk struct { ContainerPath string `json:"ContainerPath,omitempty"` Lun int32 `json:"Lun,omitempty"` - AttachOnly bool `json:"AttachOnly,omitempty"` // If `true' then not mapped to the ContainerPath. (Not generated by Swagger) } type LCOWMappedDirectory struct { diff --git a/internal/uvm/scsi.go b/internal/uvm/scsi.go index de2d7c4152..663e912b2a 100644 --- a/internal/uvm/scsi.go +++ b/internal/uvm/scsi.go @@ -112,7 +112,6 @@ func (uvm *UtilityVM) AddSCSI(hostPath string, uvmPath string) (int, int32, erro Settings: guestrequest.WCOWMappedVirtualDisk{ ContainerPath: uvmPath, Lun: lun, - AttachOnly: (uvmPath == ""), }, } } else {