Closed adhawkins closed 5 years ago
I can't find any XAPI call for this. I wonder if it's not an extra value somewhere that XenCenter fetches.
I found the option for which networks to add to VMs in XenCenter. In my old copy (v6.5.1.1922) in the properties of the network, on the 'Network Settings - Physical Device' page (where the MTU is) is a checkbox: 'Automatically add this network to new virtual machines'.
Is the source for XenCenter available? Perhaps that would tell you what this setting actually does?
It would be nice to be able to view/set this.
It's this one:
xe network-param-list uuid=\<uuid> other-config (MRW): automatic: false
Toggle it in XCP-ng center:
other-config (MRW): automatic: true
@Ultra2D thank you!
Now I wonder if it's a parameter that trigger something only in XenCenter UI (putting the default network) or if it's more generic. Anyway, we'll implement that :)
@julien-f I just put this in triage, IDK who's the best person in XO team to check this :)
As @adhawkins already mentioned, you can set 'Automatically add this network to new virtual machines' for multiple networks. I guess "default network" should be changed to "default networks"?
This has been fixed, please comment if you encounter any issues :slightly_smiling_face:
Context
Expected behavior
Be able to specify which network(s) are connected to a VM by default when one is created
Current behavior
No option exists. I seem to remember the option being available in XenCenter