[Bug 896205] New: kiwi: allow optional overriding of vagrant box name
https://bugzilla.novell.com/show_bug.cgi?id=896205 https://bugzilla.novell.com/show_bug.cgi?id=896205#c0 Summary: kiwi: allow optional overriding of vagrant box name Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: System Imaging AssignedTo: ms@suse.com ReportedBy: aspiers@suse.com QAContact: adrian@suse.com Found By: Development Blocker: --- When kiwi generates a Vagrant box, the corresponding .json metadata it also generates currently takes the box name from the kiwi image name: $json_data{name} = $xml -> getImageName(); https://github.com/openSUSE/kiwi/blob/c29297f096b13bd8f052443e7052c3ec951932... However, in the world of https://vagrantcloud.com/, the convention for "fully-qualified" box names is "ORGANIZATION/BOXNAME", e.g. "opensuse/minimal-13.1" or "suse/cloud4-admin". This convention is adopted by Vagrantfiles which reference the fully-qualified name. This means that if you run "vagrant up", it can automatically retrieve the referenced box from Vagrant Cloud if it is not already registered in the local box cache, and this creates a very nice UX. Since we would like to be able to have Vagrant Cloud point to boxes built by OBS/IBS, it would be very helpful to include the organization in the boxname. None of the file paths need to change, only the name in the generated .json file. This could be done by supporting an extra attribute in the <vagrantconfig> element, e.g. <vagrantconfig provider="libvirt" boxname="opensuse/minimal-13.1"/> would create a .json file like this: { "versions" : [ { "providers" : [ { "url" : "minimal-13.1.x86_64-0.0.1.libvirt-Build4.1.box", "name" : "libvirt" } ], "version" : "0.0.1" } ], "name" : "opensuse/minimal-13.1", "description" : "openSUSE 13.1 minimal install" } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=896205 Adam Spiers <aspiers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #4 from Adam Spiers <aspiers@suse.com> --- It worked! http://download.suse.de/ibs/Devel:/Cloud:/4:/Vagrant/boxes/cloud4-admin.x86_... has: "name": "suse/cloud4-admin", Thanks again :) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com