The following outlines how a second VM NIC can be initiated in Yarnman
Prerequisites - 2nd NIC initiated in vSphere for device
Log on to Yarnman using ssh
go to directory /etc/network by typing cd /etc/network
Open editor for file interfaces by typing sudo nano interfaces
Sample Configuration
In our example, the initial interface that has been configured using bootstrap.sh script is
10.100.100.100 with netmask 255.255.255.0, default GW 10.100.100.1 and DNS 8.8.4.4
We now will add a second mgmt interface in mgmt subnet 192.168.1.0/24
IP addr 192.168.1.100 netmask 255.255.255.0
add lines below intial interface - in our vm the second nic will be ens34*
*the second NIC name can be verified by typing ifconfig -a from system prompt
allow-hotplug ens34
iface ens34 inet static
netmask 255.255.255.0
address 192.168.1.100
to save, enter Ctrl O, then Enter, Ctrl X to exit
then reboot server sudo reboot (or restart network)