how are the vagrant boxes created?

Peter Robinson pbrobinson at gmail.com
Thu Jun 11 09:44:37 UTC 2015


On Thu, Jun 11, 2015 at 5:54 AM, Michael Adam <madam at redhat.com> wrote:
> Thanks for the infos, guys! Looking...
>
> Is the CreateImage task triggered by some "koji image-build" command?

It's run by rel-eng, it's an admin only koji command, it also depends
on a number of other RCM processes like package signing, so can't be
run by anyone.

The koji backend process is done using imagefactory, I'm not sure if
the process to create any specific Fedora cloud images is documented
anywhere, maybe search the list archives, in particular but the
upstream imagefactory docs aren't bad and the process is fairly
straight forward. If you wish to reproduce the nightly builds locally
the needed .ks and .xml are provided in the koji tasks and you could
run something like:

imagefactory --debug base_image --parameter generate_icicle false
tdl-ppc64le.xml --file-parameter install_script f22-rc3-base.ks

Peter

> Cheers - Michael
>
> ----- Original Message -----
>> From: "Matthew Miller" <mattdm at fedoraproject.org>
>> To: "Fedora Cloud SIG" <cloud at lists.fedoraproject.org>
>> Sent: Tuesday, June 9, 2015 9:55:34 PM
>> Subject: Re: how are the vagrant boxes created?
>>
>> On Tue, Jun 09, 2015 at 03:37:53PM -0400, Michael Adam wrote:
>> > is this the correct place to ask?
>>
>> Sure :)
>>
>> > How are the fedora vagrant boxes created?
>> > I.e. where is the repository describing the building
>> > and how are these things actually built?
>>
>> They're built in Koji, our buildsystem, with the "CreateImage" method,
>> which calls ImageFactory. That's fed a kickstart, like this one:
>>
>> https://git.fedorahosted.org/cgit/spin-kickstarts.git/tree/fedora-cloud-base-vagrant.ks
>>
>> from the spin-kickstarts repo, and an image comes out the other side,
>> like this:
>>
>> http://koji.fedoraproject.org/koji/taskinfo?taskID=9832786
>>
>> --
>> Matthew Miller
>> <mattdm at fedoraproject.org>
>> Fedora Project Leader
>> _______________________________________________
>> cloud mailing list
>> cloud at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/cloud
>> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>>
> _______________________________________________
> cloud mailing list
> cloud at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/cloud
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct


More information about the cloud mailing list