Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query: how to set the local image windows path in vm resource section? #185

Open
bigbigwood opened this issue Sep 3, 2023 · 0 comments
Open
Assignees
Labels

Comments

@bigbigwood
Copy link

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"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants