Skip to content

Unable to use already existing disk using file. #12643

Open
@ForceConstant

Description

@ForceConstant

Please note that the Vagrant issue tracker is in priority reserved for bug reports and enhancements. For general usage questions, please use
HashiCorp Discuss: https://discuss.hashicorp.com/c/vagrant/24 Thank you!

When submitting a bug report, please provide the minimal configuration and required information necessary to reliably reproduce the issue. It
should include a basic Vagrantfile that only contains settings to reproduce the described behavior.

Tip: Before submitting your issue, don't hesitate to remove the above introductory text, possible empty sections (e.g. References), and this tip.

Vagrant version

2.2.18

Host operating system

Windows

Guest operating system

Linux

Vagrantfile

...
  config.vm.disk :disk, name: "home", size: "100GB", file: "./home.vdi"

Debug output

...
Disk 'home' not found in guest. Creating and attaching disk to guest...
...

Expected behavior

Utlize already existing vdi disk instead of creating a new one.

Actual behavior

Created a new disk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions