open-vm-tools 2:10.2.0-3~ubuntu0.16.04.1 customization doesn't work with predictable network interface names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-vm-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When I use terraform to clone an Ubuntu 16.04.4 LTS template in (with open-vm-tools 2:10.2.
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_
in /etc/default/grub, and then everything worked.
Also, an otherwise identical template with open-vm-tools 2:10.0.
Versions:
root@tom-
Description: Ubuntu 16.04.4 LTS
Release: 16.04
root@tom-
open-vm-tools:
Installed: 2:10.2.
Candidate: 2:10.2.
Version table:
*** 2:10.2.
500 http://
100 /var/lib/
2:
500 http://
VMware ESXi, 6.5.0, 7526125
FYI, I looked into VMware's Customization.pm file and their comment says that says they run "/sbin/ifconfig eth0 2> /dev/null" to "wake up" the interface, so whatever's going wrong isn't as simple as a hardcoded network interface address in VMware code.