Closed bemehiser closed 6 years ago
I solved the issue....sort of.
When I set a network_name
to a network adapter on an OSX vm, it disconnects all network adapters. Apparently, I am able to clone an image and it will have an adapter by default, so a workaround is to just not set any adapters and let it figure itself out.
driver:
name: vsphere
driver_options:
host: vcenter-ci-5.domain.us
user: your_name
password: your_mothers_maiden_name
insecure: true
machine_options:
bootstrap_options:
network_name: # if this is set, no network adapters will be set
- 'VM LAN 10.0.x.x' # can't set this
use_linked_clone: true
datacenter: ci
resource_pool: esxi-ci-14.domain.us
Versions:
Platform Details
Scenario:
In an old version of
kitchen-vsphere
, it was possible to specify anetwork_adapter_device_key
. I'm trying to upgrade our automation fromkitchen-vsphere
tokitchen-provision-vsphere
, andI can't find thenetwork_adapter_device_key
option. Is this a missing feature?The issue we solved with thenetwork_adapter_device_key
option is described in this ticket.I found where the network_adapter_device_key is being set, but it doesn't set the adapter on OSX.
Steps to Reproduce:
Try to converge an
osx
vm.Expected Result:
VM should create and become available for SSH
Actual Result:
Our machine starts just great, but never connects to the network because it doesn't see any network devices. Instead, I get a message which looks like