Query: how to set the local image windows path in vm resource section?
bigbigwood opened this issue · 0 comments
bigbigwood commented
had tried below cases but both fails
image = "/d/software/OS/CentOS-Stream-Vagrant-8-latest.x86_64.vagrant-virtualbox.box"
image = "D:\\software\\OS\\CentOS-Stream-Vagrant-8-latest.x86_64.vagrant-virtualbox.box"
resource "virtualbox_vm" "node" {
count = 1
name = format("node-%02d", count.index + 1)
image = ???
cpus = 1
memory = "512 mib"
# user_data = file("${path.module}/user_data")
network_adapter {
type = "hostonly"
host_interface = "vboxnet1"
}
}