not allow to select SCSI inside the VM creation wizard
This commit is contained in:
parent
7b6b394e7b
commit
ddd50c2259
9
debian/changelog.Debian
vendored
9
debian/changelog.Debian
vendored
@ -1,3 +1,12 @@
|
||||
pve-manager (2.0-39) unstable; urgency=low
|
||||
|
||||
* add Spanish translation
|
||||
|
||||
* Do not allow to select SCSI inside the VM creation wizard,
|
||||
because booting from SCSI does not work with current kvm version
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Fri, 02 Mar 2012 10:49:12 +0100
|
||||
|
||||
pve-manager (2.0-38) unstable; urgency=low
|
||||
|
||||
* fix bug 101: vzdump use run_command to avoid locale errors
|
||||
|
@ -2,7 +2,7 @@ RELEASE=2.0
|
||||
|
||||
VERSION=2.0
|
||||
PACKAGE=pve-manager
|
||||
PACKAGERELEASE=38
|
||||
PACKAGERELEASE=39
|
||||
|
||||
BINDIR=${DESTDIR}/usr/bin
|
||||
PERLLIBDIR=${DESTDIR}/usr/share/perl5
|
||||
|
@ -2,7 +2,7 @@ Ext.define('PVE.form.BusTypeSelector', {
|
||||
extend: 'PVE.form.KVComboBox',
|
||||
alias: ['widget.PVE.form.BusTypeSelector'],
|
||||
|
||||
noVirtio: false,
|
||||
noVirtIO: false,
|
||||
|
||||
noScsi: false,
|
||||
|
||||
|
@ -10,7 +10,7 @@ Ext.define('PVE.form.ControllerSelector', {
|
||||
}
|
||||
},
|
||||
|
||||
noVirtio: false,
|
||||
noVirtIO: false,
|
||||
|
||||
noScsi: false,
|
||||
|
||||
@ -35,7 +35,7 @@ Ext.define('PVE.form.ControllerSelector', {
|
||||
|
||||
Ext.Array.each(clist, function(controller) {
|
||||
var confid, i;
|
||||
if ((controller === 'virtio' && me.noVirtio) ||
|
||||
if ((controller === 'virtio' && me.noVirtIO) ||
|
||||
(controller === 'scsi' && me.noScsi)) {
|
||||
return; //continue
|
||||
}
|
||||
@ -68,7 +68,8 @@ Ext.define('PVE.form.ControllerSelector', {
|
||||
xtype: 'PVE.form.BusTypeSelector',
|
||||
name: 'controller',
|
||||
value: 'ide',
|
||||
noVirtIO: me.noVirtio,
|
||||
noVirtIO: me.noVirtIO,
|
||||
noScsi: me.noScsi,
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
change: function(t, value) {
|
||||
|
@ -101,6 +101,8 @@ Ext.define('PVE.qemu.HDInputPanel', {
|
||||
|
||||
if (!me.confid || me.unused) {
|
||||
me.bussel = Ext.createWidget('PVE.form.ControllerSelector', {
|
||||
// boot from scsi does not work in kvm 1.0
|
||||
noScsi: me.insideWizard ? true : false,
|
||||
vmconfig: me.insideWizard ? {ide2: 'cdrom'} : {}
|
||||
});
|
||||
me.column1.push(me.bussel);
|
||||
@ -253,6 +255,7 @@ Ext.define('PVE.qemu.HDEdit', {
|
||||
return;
|
||||
}
|
||||
ipanel.setDrive(drive);
|
||||
me.isValid(); // trigger validation
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user