Warning |
---|
This method only applies to yarnman <= 2.5.24 for yarnman >= 2.60 contact yarnlab support |
The following outlines how a second VM NIC can be initiated in Yarnman
Prerequisites - 2nd NIC initiated added in vSphere for deviceSample Configuration
Log on to Yarnman using sshgo to directory /etc/network by typing cd /etc/network
Open editor for file interfaces by typing sudo nano /etc/network/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
...
add lines below intial interface - in our vm the second nic will be ens34 (ens*
Info |
---|
*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
...