Repository navigation
How to set an IP address to vm #2927
Replies: 13 comments
|
Any comment or help on this? |
|
See vm.create and vm.customize. Ryan Johnson |
|
Duplicate of https://github.com/orgs/vmware/discussions/2930. Ryan Johnson |
|
@tenthirtyam , thanks for reply. -net= Network [GOVC_NETWORK] |
|
Use Ryan Johnson |
|
I tried that as well. Getting NicSettingMismatch error. Any help on how to correct this? |
|
Does the template use e1000 or vmxnet3? |
|
I just tried following..But don't see the IP assigned. |
|
Looks like a bug on vm.info output. Assigned IP gets reflected when I try to use vm.ip. |
|
Tried creating VM with net.adapter |
|
Depends on the template. For example, is it configured for cloud-init by default (eg Ubuntu 20.04 and later) or does it support guest customization (and have the necessary pre-reqs - like RHEL/derivative + Perl) Do you see it failing in the VM's tasks? |
|
Task is not failing. |
|
Can you confirm that you see it running the Guest Customization under Monitor > Tasks and that it successfully performed the Reconfiguring... and is not passing the IP configuration? Can you confirm the guest OS and that running a guest customization the traditional method also does not fail on the same template? More information is needed for community assistance. (Note: I won't be back on this evening.) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I created the datacenter, cluster, datastore and vm using below commands.
However, when I check the vm ip, it shows empty. How can I populate the same? What am I missing?
Also, govc metric.ls -dc=TestDC TestVM shows the list of available metrics.
Are these metrics getting auto-populated or we can populate a few/some of them for a given vm?
All reactions