VMware vSphere

 View Only
  • 1.  Ubuntu 20.04 Server LTS Templates drives me crazy

    Posted Jul 14, 2020 02:56 PM

    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/

    Any idea?



  • 2.  RE: Ubuntu 20.04 Server LTS Templates drives me crazy

    Posted Jul 14, 2020 07:43 PM

    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



  • 3.  RE: Ubuntu 20.04 Server LTS Templates drives me crazy

    Posted Jul 14, 2020 08:26 PM

    Thanks Bob,

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



  • 4.  RE: Ubuntu 20.04 Server LTS Templates drives me crazy

    Posted Jul 20, 2020 11:54 AM

    No ideas?



  • 5.  RE: Ubuntu 20.04 Server LTS Templates drives me crazy

    Posted Jul 21, 2020 12:59 PM

    Hey, hope you are doing fine


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



  • 6.  RE: Ubuntu 20.04 Server LTS Templates drives me crazy

    Posted Jul 21, 2020 02:11 PM

    Hi,

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



  • 7.  RE: Ubuntu 20.04 Server LTS Templates drives me crazy

    Posted Jul 21, 2020 03:03 PM

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



  • 8.  RE: Ubuntu 20.04 Server LTS Templates drives me crazy

    Posted Jul 22, 2020 10:17 AM

    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.



  • 9.  RE: Ubuntu 20.04 Server LTS Templates drives me crazy

    Posted Jul 22, 2020 02:48 PM

    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