mirror of
https://github.com/webmin/webmin.git
synced 2026-08-09 09:10:37 +01:00
Fix description for virtio disks
This commit is contained in:
@@ -2530,11 +2530,13 @@ if (!$text{'select_part'}) {
|
||||
$text{$k} = $flang{$k} if ($k =~ /^select_/);
|
||||
}
|
||||
}
|
||||
return $_[0] =~ /^\/dev\/(s|h|xv)d([a-z]+)(\d+)$/ ?
|
||||
&text('select_part', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' : 'IDE',
|
||||
return $_[0] =~ /^\/dev\/(s|h|xv|v)d([a-z]+)(\d+)$/ ?
|
||||
&text('select_part', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' :
|
||||
$1 eq 'v' ? 'VirtIO' : 'IDE',
|
||||
uc($2), "$3") :
|
||||
$_[0] =~ /^\/dev\/(s|h|xv)d([a-z]+)$/ ?
|
||||
&text('select_device', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' : 'IDE',
|
||||
$_[0] =~ /^\/dev\/(s|h|xv|v)d([a-z]+)$/ ?
|
||||
&text('select_device', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' :
|
||||
$1 eq 'v' ? 'VirtIO' : 'IDE',
|
||||
uc($2)) :
|
||||
$_[0] =~ /rd\/c(\d+)d(\d+)p(\d+)$/ ?
|
||||
&text('select_mpart', "$1", "$2", "$3") :
|
||||
|
||||
Reference in New Issue
Block a user