VMware Cloud Community
deva543
Contributor
Contributor

RHEL 9.0 template failing to customise the ip in guest os

RHEL 9.0 template failing to customise the ip in guest os. it takes the ip of default template .

Labels (1)
  • in

0 Kudos
7 Replies
ronaldod
Enthusiast
Enthusiast

If you could tell what you use to customize the ip adress. Are you using cloudbase-init or the customisation spec from vcenter ?

0 Kudos
BivasM
Enthusiast
Enthusiast

you can create a policy from vcenter > menu > policies and profiles > vm customization spec.

Or have you tried that already? you can use the prompt for ip option in the policy and during template deployment check the box for vm customization. 

0 Kudos
deva543
Contributor
Contributor

the IP is not getting inside the guest os the network profile is getting assigned as per user input but the ip is not assigned it shows the default template ip .

0 Kudos
deva543
Contributor
Contributor

the IP is not getting inside the guest os the network profile is getting assigned as per user input but the ip is not assigned it shows the default template ip 

0 Kudos
deva543
Contributor
Contributor

the IP is not getting inside the guest os the network profile is getting assigned as per user input but the ip is not assigned it shows the default template ip .

0 Kudos
BivasM
Enthusiast
Enthusiast

my question is how are you trying to set the custom ip?

the method i mentioned earlier should work.

0 Kudos
shashankmore05
Contributor
Contributor

On the VM which got failed the IP assignment, you can try to assign the IP manually and try to see what error it is getting or it gets pass. sometimes in /etc/sysconfig/network-script u might have unwanted ifcfg-ethx profile file and when vRA tries to customise it. restart of network service gets fail. 

Try to assign IP manually and failed VM and check if it allows you.

0 Kudos