Setting a VM's mac address in Vagrant

后端 未结 5 1009
不思量自难忘°
不思量自难忘° 2021-01-31 15:39

The documentation lists that the mac address of a VM can be set in the Vagrantfile, however everything I add seems to end up being a syntax error. Anyone successfully done this?

5条回答
  •  长情又很酷
    2021-01-31 16:28

    hmm, the network config didn't help in my case. After defining the MAC Address directly in the Vagrantfile via config.vm.base_mac = "MyEth0MacAddressWithoutSlashes" my machine started =)

提交回复
热议问题