Nat adapter as second interface

I need to configure nat adapter as second interface
but it does not work
node.vm.provider “virtualbox” do |vb| = “kubemaster0#{i}”
vb.memory = 2048
vb.cpus = 2
vb.customize [‘modifyvm’, :id, ‘–nic1’, ‘intnet’, ‘–nic2’, ‘nat’]
end :private_network, adapter: 1, ip: IP_NW + “#{MASTER_IP_START + i}” :forwarded_port, adapter: 2, auto_correct: false, guest: 22, host: “#{2710 + i}”

Could You please tell me, where is wrong
Thanks in advance

Vagrant requires the first network device attached to the virtual machine to be a NAT device. As far as I know it is currently not possible to override this requirement.

It looks like you want to setup kubernetes via vagrant so I suggest that you use the second network adapter for the kubenetes network.