Hi, Am Donnerstag, 14. November 2019, 23:30:11 CET schrieb Dan Cermak:
Fabian Vogt <fvogt@suse.de> writes:
Hi,
Am Dienstag, 12. November 2019, 14:03:45 CET schrieb Dan Cermak:
Richard Brown <rbrown@suse.de> writes:
On Tue, 2019-11-12 at 13:47 +0100, Johannes Kastl wrote:
Hi Richard,
Am 12.11.19 um 13:43 schrieb Richard Brown:
Is there something wrong with the official vagrant boxes already available from the official image repository at https://download.opensuse.org/tumbleweed/appliances/ ?
Sorry, let me rephrase my question:
Can we have the existing vagrant boxes available in Vagrant Cloud? https://app.vagrantup.com/opensuse/ lists only the Tumbleweed one.
Kind Regards, Johannes
Oh! I have absolutely no objection to that, infact I think that would be really cool, but I have no knowledge how those Tumbleweed images get there :)
Anything I can do to help?
Yes, ask me to link them for you ;-)
I'd need the links to the json files in the `boxes/` subdirectory on download.o.o and if you wish that the boxes have different names, then that one too (otherwise the openSUSE-MicroOS.x86_64-Vagrant box will appear as `opensuse/openSUSE-MicroOS.x86_64-Vagrant` on vagrantcloud, which I find terribly verbose).
opensuse/MicroOS: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8...
The MicroOS box is up on Vagrant Cloud: https://app.vagrantup.com/opensuse/boxes/MicroOS
and should be automatically updated on each new release.
opensuse/Kubic: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8... opensuse/MicroOS-ContainerHost: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8...
Unfortunately there is a problem with these two: the version element in the json file is invalid. Vagrant and Vagrant Cloud require the version to be a valid gem version, i.e. x.y.z where x, y and z are all integers.
This makes both boxes unusable for vagrant. If you use the following Vagrantfile: --8<---------------cut here---------------start------------->8--- Vagrant.configure("2") do |config| config.vm.box = "openSUSE-MicroOS.x86_64.json" config.vm.box_url = "http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8..." end --8<---------------cut here---------------end--------------->8--- and run: `vagrant up`, then you'll get this error:
dan@Boreas:/tmp/test:[0]> vagrant up Bringing machine 'default' up with 'libvirt' provider... ==> default: Box 'openSUSE-MicroOS.x86_64.json' could not be found. Attempting to find and install... default: Box Provider: libvirt default: Box Version: >= 0 ==> default: Loading metadata for box 'http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8...' default: URL: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8... A version of the box you're loading is formatted in a way that Vagrant cannot parse: 'ContainerHost.20191112'. Please reformat the version to be properly formatted. It should be in the format of X.Y.Z.
I am not sure why the version field has this value though. It appears to be set correctly in the kiwi recipe on OBS, so maybe this is a bug/quirk in OBS' publisher?
Yes, looks like yet another issue with staticlinks+vagrant. Can you open a bug report with details on https://github.com/openSUSE/open-build-service? Thanks, Fabian
Cheers,
Dan
-- To unsubscribe, e-mail: opensuse-kubic+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kubic+owner@opensuse.org