Public bug reported:

When I use terraform to clone an Ubuntu 16.04.4 LTS template in (with
open-vm-tools 2:10.2.0-3~ubuntu0.16.04.1 installed), the network
interface isn't configured, and toolsDeployPkg.log includes:

    DEBUG: Command: '/sbin/ifconfig eth0 2> /dev/null'
    DEBUG: Result:
    DEBUG: Exit Code: 256

But, our network interface is really ens192.  So, I tried disabling
predictable network interface names in the template by setting

    GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 biosdevname=0"

in /etc/default/grub, and then everything worked.

Also, an otherwise identical template with open-vm-tools
2:10.0.7-3227872-2ubuntu1 has no issues configuring the network
interface.

Versions:

root@tom-newtest-2:~# lsb_release -rd
Description:    Ubuntu 16.04.4 LTS
Release:        16.04

root@tom-newtest-2:~# apt-cache policy open-vm-tools
open-vm-tools:
  Installed: 2:10.2.0-3~ubuntu0.16.04.1
  Candidate: 2:10.2.0-3~ubuntu0.16.04.1
  Version table:
 *** 2:10.2.0-3~ubuntu0.16.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     2:10.0.7-3227872-2ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

VMware ESXi, 6.5.0, 7526125

** Affects: open-vm-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "toolsDeployPkg.log"
   
https://bugs.launchpad.net/bugs/1782451/+attachment/5165037/+files/toolsDeployPkg.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1782451

Title:
  open-vm-tools 2:10.2.0-3~ubuntu0.16.04.1 customization doesn't work
  with predictable network interface names

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1782451/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to