mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 13:50:28 +00:00
ui: remove local cloud-init live migration limitation
With live migration with local cloud-init disk now possible via the CLI also remove the limitation in the GUI. Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
This commit is contained in:
parent
dcdbc23259
commit
4d66fc7fcf
@ -252,15 +252,7 @@ Ext.define('PVE.window.Migrate', {
|
||||
if (migrateStats.local_disks.length) {
|
||||
migrateStats.local_disks.forEach(function(disk) {
|
||||
if (disk.cdrom && disk.cdrom === 1) {
|
||||
if (disk.volid.includes('vm-' + vm.get('vmid') + '-cloudinit')) {
|
||||
if (migrateStats.running) {
|
||||
migration.possible = false;
|
||||
migration.preconditions.push({
|
||||
text: "Can't live migrate VM with local cloudinit disk, use shared storage instead",
|
||||
severity: 'error',
|
||||
});
|
||||
}
|
||||
} else {
|
||||
if (!disk.volid.includes('vm-' + vm.get('vmid') + '-cloudinit')) {
|
||||
migration.possible = false;
|
||||
migration.preconditions.push({
|
||||
text: "Can't migrate VM with local CD/DVD",
|
||||
|
Loading…
Reference in New Issue
Block a user