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

vagrant post-processor does not export additional disks from qemu #9160

Closed
rgl opened this issue May 3, 2020 · 3 comments
Closed

vagrant post-processor does not export additional disks from qemu #9160

rgl opened this issue May 3, 2020 · 3 comments

Comments

@rgl
Copy link
Contributor

rgl commented May 3, 2020

Overview of the Issue

#7791/#6139 introduced the disk_additional_size property to add additional disks to a qemu vm and that works nicely, but the vagrant post-processor is not exporting the additional disks:

$ tar tvf esxi-7.0-amd64-libvirt.box
-rw-rw-r-- rgl/rgl         814 2020-05-03 22:31 Vagrantfile
-rw-rw-r-- rgl/rgl   561774592 2020-05-03 22:31 box.img
-rw-rw-r-- rgl/rgl          57 2020-05-03 22:31 metadata.json

Packer version

1.5.6

Simplified Packer Buildfile

  "builders": [
    {
      "name": "esxi-{{user `version`}}-amd64-libvirt",
      "type": "qemu",
      "disk_size": "{{user `boot_disk_size`}}",
      "disk_additional_size": ["{{user `datastore_disk_size`}}"],
      ...

The full template is at https://github.com/rgl/esxi-vagrant/blob/feature-upgrade-to-esxi-7/esxi.json

@nywilken
Copy link
Member

nywilken commented May 4, 2020

Thanks for bubbling this up @rgl. We'll see if we can take a look at this for the next release. PRs are welcomed if you have some thoughts on the fix. Thanks again!

@ghost
Copy link

ghost commented Apr 19, 2021

This issue has been automatically migrated to hashicorp/packer-plugin-qemu#6 because it looks like an issue with that plugin. If you believe this is not an issue with the plugin, please reply to hashicorp/packer-plugin-qemu#6.

@ghost
Copy link

ghost commented May 20, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators May 20, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants