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

Allow packing multiple images that will be used by different providers in one box file #1773

Closed
thedrow opened this Issue May 29, 2013 · 2 comments

Comments

Projects
None yet
3 participants
@thedrow

thedrow commented May 29, 2013

It's a matter of accepting an array of providers instead of just one in the metadata.json file.
I have no idea about the internals though.
This is useful for users that use both providers.

@logicminds

This comment has been minimized.

Show comment
Hide comment
@logicminds

logicminds Jun 5, 2013

+1 I have a team of developers where some use fusion and others uses virtualbox. I currently have this at the top of my vagrantfile:

if File.exists?('/Library/Application\ Support/VMware/VMware\ Fusion/')
@box_url="https://someweburl/files/vagrant-centos-6.4-x86_64-vmware_fusion.box"
else
@box_url="https://someweburl/files/CentOS-6.4-x86_64-v20130427.box"
end

+1 I have a team of developers where some use fusion and others uses virtualbox. I currently have this at the top of my vagrantfile:

if File.exists?('/Library/Application\ Support/VMware/VMware\ Fusion/')
@box_url="https://someweburl/files/vagrant-centos-6.4-x86_64-vmware_fusion.box"
else
@box_url="https://someweburl/files/CentOS-6.4-x86_64-v20130427.box"
end

@mitchellh

This comment has been minimized.

Show comment
Hide comment
@mitchellh

mitchellh Jun 9, 2013

Member

Actually, a future feature will address this: box manifests. This will allow box URLs to actually report URLs to the proper providers. Then Vagrant will get the right one. Closing this because I'm sure there is another issue for it, and I'm planning on doing it anyways.

Member

mitchellh commented Jun 9, 2013

Actually, a future feature will address this: box manifests. This will allow box URLs to actually report URLs to the proper providers. Then Vagrant will get the right one. Closing this because I'm sure there is another issue for it, and I'm planning on doing it anyways.

@mitchellh mitchellh closed this Jun 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment