Closed pkelly-mitre closed 3 months ago
can you upgrade your test-kitchen version to latest 3.6.0 and see if that fixes your issue.
Is this also for private within the local workstation or are you looking for the box to be on the local network with private IP similar to the workstations primary network IP? This requires bridged interface to be used like:
network:
- [ "public_network", { bridge: [ 'en9: StartTech DK30CH2DEP', 'en0: Wi-Fi (Wireless)' ], type: dhcp } ]
I am trying to use it private within the workstation. Updating to latest version fixed my issue. Thank you
:speaking_head: Foreword
I am unable to configure my kitchen.yml file to setup a private_network using either type "dhcp" or also manually assigning the ip address.
:ghost: Brief Description
Trying to setup two systems using Test kitchen kitchen.yml. I need to set them up with private networks. I tried using type "dhcp" and also manually setting the ip but getting the same error both times.
Version
Vagrant 2.4.1
Environment
Ubuntu 20.04 Test Kitchen version 3.0.0 VirtualBox: 7.0.18r162988
Scenario
Trying to create systems that assign different ips to each system
Steps to Reproduce
Running
kitchen converge
with the following kitchen.yml. Everything works fine without the private network field.Expected Result
Kitchen converge runs smoothly and at the end I have two VMs with separate ip addresses
Actual Result
:heavy_plus_sign: Additional context
Downgrading to different versions has not worked for me as suggested in other posts.