mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #16030 from wanyaoqi/fix/disable-floppy-on-other-machines
fix(host): disable floppy on machine type isn't pc
This commit is contained in:
@@ -360,7 +360,7 @@ func (s *SKVMGuestInstance) initCdromDesc() {
|
||||
}
|
||||
|
||||
func (s *SKVMGuestInstance) initFloppyDesc() {
|
||||
if s.GetOsName() != OS_NAME_WINDOWS {
|
||||
if s.Desc.Machine != "pc" || s.GetOsName() != OS_NAME_WINDOWS {
|
||||
return
|
||||
}
|
||||
if s.Desc.Floppys == nil {
|
||||
|
||||
Reference in New Issue
Block a user