ScaleComputing / HyperCoreAnsibleCollection

Official Ansible collection for Scale Computing SC//HyperCore (HC3) v1 API
GNU General Public License v3.0
12 stars 8 forks source link

:rocket: Feature request: vm_clone module should provide a "preserve mac address" option like HyperCore UI #163

Closed ddemlow closed 1 year ago

ddemlow commented 1 year ago

Is your feature request related to a problem? Please describe.

to simplify cloning of identical virtual machines from latest or roll back to a previous point in time snapshot - it would be helpful to have an option in vm_clone module that is the equivalent of the clone existing mac address option available in the web UI

Describe the solution you'd like

simplify the process of cloning VM or from snapshot while retaining original mac addresses for virtual nics (which may be required to preserve dhcp reservations or to preserve static network configurations for some OS's)

Describe alternatives you've considered

data could be extracted from vm_info, then clone task, then a vm_params task but this could be reduced down to just the clone task and be more declarative

Additional context

test automation using virtual nodes using ansible could leverage this option

image