diff --git a/xCAT-server/lib/xcat/plugins/kvm.pm b/xCAT-server/lib/xcat/plugins/kvm.pm index 1f1e8694e..2e010fe84 100755 --- a/xCAT-server/lib/xcat/plugins/kvm.pm +++ b/xCAT-server/lib/xcat/plugins/kvm.pm @@ -549,9 +549,11 @@ sub build_diskstruct { } } my $cdprefix='hd'; - if ($storagemodel eq 'virtio') { - $cdprefix='vd'; - } elsif ($storagemodel eq 'scsi') { + # device name vd* doesn't work for CDROM, so delete it. + #if ($storagemodel eq 'virtio') { + # $cdprefix='vd'; + #} els + if ($storagemodel eq 'scsi') { $cdprefix='sd'; } $suffidx += 1;