mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 19:26:48 +00:00
Settings > Clone was a horizontal form with unlabelled checkboxes. The owner chose this layout from three rendered options: the clone's name on top, a "Network" card with a new MAC address per NIC, a "Storage" card with a new volume name per disk, then the optional title and description and a footer with Clone. Codex reviewed cloning end to end; these are fixed: - Every NIC of the clone gets a new random MAC when the form opens. Only the first did, so a VM with two NICs gave its clone the second NIC's MAC. Guess MAC is offered for the first NIC only: a name's DHCP host entry holds one address. - A VM without a NIC can be cloned: the first NIC's MAC was required. - The disk name script uses the persistent disks, as the form does; a disk added pending the next start kept the source's volume name. - A running or paused VM is not cloned while a copied disk changes at the next start: the backup copies the running disk, so the clone would get the old contents under the new definition. - A derived volume name that does not start with the source's name now starts with the clone's name and the disk's device, so a second clone or a second disk does not take the same name. - Guess for the clone name says when the DHCP file has no free name; it stopped with a script error. - The qcow2 metadata preallocation box shows only for a shut-off VM: a live clone's backup ignores it. Other users no longer get hidden MAC and disk inputs or the scripts that filled them: the server derives those values and ignored the posted ones. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_agent_access.py | ||
| test_change_network.py | ||
| test_clone_nvram.py | ||
| test_cloud_init_seed.py | ||
| test_connection.py | ||
| test_connection_threads.py | ||
| test_console_setters.py | ||
| test_device_edits.py | ||
| test_disk_copy_migration.py | ||
| test_disk_move.py | ||
| test_external_snapshots.py | ||
| test_host_reads.py | ||
| test_instance_getters.py | ||
| test_interface_addresses.py | ||
| test_iso_media.py | ||
| test_live_clone.py | ||
| test_live_connection.py | ||
| test_live_nvram.py | ||
| test_migration.py | ||
| test_network_ip.py | ||
| test_persistent_edits.py | ||
| test_read_cache.py | ||
| test_remove_nvram.py | ||
| test_resize_disk.py | ||
| test_rwlock.py | ||
| test_usage.py | ||
| test_util.py | ||
| test_volume_in_use.py | ||
| test_xml_safety.py | ||
| test_xpath_values.py | ||