VMware Cloud Community
repa82
Enthusiast
Enthusiast

Ubuntu 20.04 Server LTS Templates drives me crazy

Hi community,

i try to create Ubuntu 20.04 Template, but i can't get network running.

I tried all VMware KB's and followed this Blog post here:

https://www.oxcrag.net/2020/06/10/creating-a-working-ubuntu-20-04-vmware-image/

pastedImage_0.png

Any idea?

0 Kudos
8 Replies
TheBobkin
Champion
Champion

Hello repa82​,

What build of vCenter is in use here?

From the logging you posted, I don't think the blog post you referenced is the issue you are facing.

Looks like you are hitting the below issue due to default Ubuntu customisation being applied and /sbin/ifconfig doesn't work in this release, workaround if vCenter update to 6.7 U3g is not possible is posted here:

NIC not connected after cloning vm - Ubuntu 2020 Beta · Issue #421 · vmware/open-vm-tools · GitHub

Bob

0 Kudos
repa82
Enthusiast
Enthusiast

Thanks Bob,

We're on vCenter 6.7.0.44000, this should be fine i think.

0 Kudos
repa82
Enthusiast
Enthusiast

No ideas?

0 Kudos
nachogonzalez
Commander
Commander

Hey, hope you are doing fine


What ethernet adapter are you using?  VXNET3? E1000?
Do you have VMware tools installed?

0 Kudos
repa82
Enthusiast
Enthusiast

Hi,

VXNET3 and open-vm-tools are installed on the vm.

0 Kudos
nachogonzalez
Commander
Commander

Just an idea
Why don't you try with E1000e, might work.

0 Kudos
repa82
Enthusiast
Enthusiast

I created a new template using E1000 network adapter.

When i try to create a VM from the template in Cloud Director, i get this error:

Primary network interface index does not match a network interface in vm named

It doesn't matter if i choose e1000 or vmxnet3, this message appears always.

0 Kudos
nachogonzalez
Commander
Commander

Hey, hope you are doing fine

When you deploy the templates what is the virtual wire / portgroup you connect the virtual machines?
Do you have any way to check if that portgroup name is unique and not replicated?
Can you try changing the portgroup you deploy VMs to?

Warm regards

0 Kudos