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

[ERROR] unpacking gold image virtualbox.box: exit status 2 #160

Open
paslavskyit opened this issue Dec 21, 2022 · 0 comments
Open

[ERROR] unpacking gold image virtualbox.box: exit status 2 #160

paslavskyit opened this issue Dec 21, 2022 · 0 comments
Assignees
Labels

Comments

@paslavskyit
Copy link

paslavskyit commented Dec 21, 2022

Terraform Version

Terraform v1.3.6 on windows_amd64

Virtualbox Provider version

v0.2.2-alpha.2

Virtualbox Version

7.0.4

Operating System

Windows 11

Describe the bug

Error: [ERROR] Unpacking image https://app.vagrantup.com/ubuntu/boxes/bionic64/versions/20180903.0.0/providers/virtualbox.box: unpacking gold image virtualbox.box: exit status 2

To Reproduce

Steps to reproduce the behavior:

  1. terraform init
  2. terraform plan
  3. terraform apply

Expected Behaviour

virtual machine should be created, but it didn't

Configuration

resource "virtualbox_vm" "node" {
  count     = 1
  name      = format("node-%02d", count.index + 1)
  image     = "https://app.vagrantup.com/ubuntu/boxes/bionic64/versions/20180903.0.0/providers/virtualbox.box"
  cpus      = 2
  memory    = "1024 mib"

  network_adapter {
    type           = "hostonly"
    host_interface = "vboxnet1"
  }
}

Log Output

virtualbox_vm.node[0]: Still creating... [4m10s elapsed]
│ Error: [ERROR] Unpacking image https://app.vagrantup.com/ubuntu/boxes/bionic64/versions/20180903.0.0/providers/virtualbox.box: unpacking gold image virtualbox.box: exit status 2
│
│   with virtualbox_vm.node[0],
│   on main.tf line 12, in resource "virtualbox_vm" "node":
│   12: resource "virtualbox_vm" "node" {
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