Hello all,
I'm trying to assign a static IP to a CentOS VM through XenServer (7.6) CLI !
For windows vm it is possible !!
I followed the below steps,
1) xe vm-vif-list vm=(VM-name-label)
2) xe vif-list vm-uuid=(uuid-of-the-VM)
3) xe vif-configure-ipv4 uuid=(UUID-of- VIF) mode=static address=w.x.y.z/24 gateway=a.b.c.d
When I use the above steps I got some error, Please find the error below,
Error Message
"You attempted an operation on a VM which lacks the feature." Screenshot of the error info
Can anyone please help me to solve this? Kindly let me know if I miss anything ??
Thanks in advance,
Antonynixson I