1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-09 19:56:48 +00:00
webvirtcloud/instances/templates
catborise 400ba1614f feat(instances): a VM's clone form in device cards, with fixes to what it clones
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.
2026-10-30 14:55:57 +03:00
..
instances feat(instances): a VM's clone form in device cards, with fixes to what it clones 2026-10-30 14:55:57 +03:00
add_instance_network_block.html feat(instances): a VM's network devices as cards, each with its QoS limits 2026-10-30 14:55:57 +03:00
add_instance_owner_block.html feat(instances): the top of a VM's page in one card 2026-10-29 22:46:24 +03:00
add_instance_volume.html feat(instances): a VM's disks as cards, its CD-ROM drives above them 2026-10-30 11:19:55 +03:00
allinstances.html feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00
allinstances_index_grouped.html feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00
allinstances_index_nongrouped.html feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00
create_flavors.html fix(instances): adding or deleting a flavor keeps the unfinished VM form 2026-10-24 11:12:07 +03:00
create_flavors_reply.html fix(instances): adding or deleting a flavor keeps the unfinished VM form 2026-10-24 11:12:07 +03:00
create_inst_block.html feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00
create_instance_w1.html refactor(templates): the last inline styles that Bootstrap covers 2026-10-27 20:37:30 +03:00
create_instance_w2.html fix(instances): a new VM's CPU is a mode or a model the host offers, checked by libvirt 2026-10-29 11:17:38 +03:00
create_presets.html fix(instances): adding or deleting a flavor keeps the unfinished VM form 2026-10-24 11:12:07 +03:00
create_steps.html refactor(templates): Bootstrap's components instead of the panel's own CSS for capacity, steps and disclosures 2026-10-27 17:05:03 +03:00
instance.html feat(instances): a VM's clone form in device cards, with fixes to what it clones 2026-10-30 14:55:57 +03:00
instance_actions.html feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00
instance_name_cell.html feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00
instance_state.html feat(instances): the VM list on Bootstrap's pills, badges and menus, its actions by the user's rights 2026-10-28 13:55:46 +03:00