Yes I also tried this option but it does not impact my number of sockets. Thank you for your reply ,
Appreciate your response.
( Note I am creating vms from templates ) .
Any suggestion ?
Output from (
hardware:
memory_mb: "{{ ram_size }}"
num_cpus: "{{ cpu_nums }}"
num_cpu_cores_per_socket: 2
============= Output --============
ok: [kuber-n-03] => {
"deploy": {
"changed": true,
"failed": false,
"instance": {
"annotation": "",
"current_snapshot": null,
"customvalues": {},
"guest_tools_status": "guestToolsNotRunning",
"hw_eth0": {
"addresstype": "assigned",
"ipaddresses": null,
"label": "Network adapter 1",
"macaddress": "00:50:56:b7:a8:a8",
"macaddress_dash": "00-50-56-b7-a8-a8",
"summary": "VM Network"
},
"hw_guest_full_name": null,
"hw_guest_id": null,
"hw_interfaces": [
"eth0"
],
"hw_memtotal_mb": 2048,
"hw_name": "kuber-n-03",
"hw_power_status": "poweredOn",
"hw_processor_count": 2,
"hw_product_uuid": "42371497-b8e6-5c9d-8859-6d73af6b9f78",
"ipv4": null,
"ipv6": null,
"module_hw": true,
"snapshots": []
}
}
}
================ End of output =============