Open abdelhaleemahmed opened 2 years ago
I took the liberty of editing the comment to add syntax highlighting. I hope you don't mind.
I was able to solve this problem by adding the correct hostinterface name. Try to see the hostinterface name and assign that you should be able to create that successfully. Check that in your case how the interface is looking if you try to create a VM manually and assign that interface accordingly.
network_adapter {
type = "bridged"
host_interface = "Intel(R) Dual Band Wireless-AC 8260"
}
It happens exactly the same
terraform { required_providers { virtualbox = { source = "terra-farm/virtualbox" version = "0.2.2-alpha.1" } } } resource "virtualbox_vm" "node" { name = "skyneds" image = "https://cloud.centos.org/centos/7/vagrant/x86_64/images/CentOS-7-x86_64-Vagrant-2004_01.VirtualBox.box" cpus = 2 memory = "1024 mib"
network_adapter { type = "nat" } }
Greetings,
I tried to run the provider on windows 10, form a powershell prompt using the following configurations:
Software: Virtualbox version:
6.1.28r147628
Provider:0.2.2-alpha.1
Terraform:Terraform v1.0.11 on windows_amd64
Configuration file:
~
Issue 01: I got the machine up and running and with the NAT configuration, and able to access the internet, but with the following error:
Changing the configuration to the following and use a hostonly network:
I'm I downing something wrong?
any advice is appreciated, I'm a Linux expert so, I will move my tests to a Linux machine and then try everything again. Moreover I used multiple images with the same results.