[PATCH] use new vagrant koji format options and add Cloud Vagrant box

Dennis Gilmore dennis at ausil.us
Thu Apr 9 14:19:04 UTC 2015


This needs to go to the releng list 

On Wednesday, April 08, 2015 10:56:15 PM Ian McLeod wrote:
> ---
>  scripts/build-cloud-images | 26 +++++++++++++++++++++-----
>  1 file changed, 21 insertions(+), 5 deletions(-)
> 
> diff --git a/scripts/build-cloud-images b/scripts/build-cloud-images
> index c84d994..1b7184d 100755
> --- a/scripts/build-cloud-images
> +++ b/scripts/build-cloud-images
> @@ -49,6 +49,25 @@ do
>      koji image-build Fedora-Cloud-$spin $RELEASE --distro Fedora-20 $TARGET
>  --kickstart=fedora-cloud-$lspin-$GITHASH.ks $url x86_64 i386
> --format=qcow2 --format=raw-xz --release=$BUILD --scratch $REPOS --nowait
> --disk-size=3 done
> 
> +for spin in Base-Vagrant
> +do
> +    declare -l lspin
> +    lspin=$spin
> +    kickstart=fedora-cloud-$lspin-$GITHASH.ks
> +    ksflatten -c fedora-cloud-$lspin.ks -o $kickstart
> +    echo "url --url=$url"|sed -e 's|$arch|$basearch|g' >> $kickstart
> +    koji image-build Fedora-Cloud-$spin $RELEASE $TARGET $url x86_64 \
> +         $REPOS \
> +         --release=$BUILD \
> +         --distro Fedora-20 \
> +         --kickstart=fedora-cloud-$lspin-$GITHASH.ks \
> +         --format=vagrant-libvirt \
> +         --format=vagrant-virtualbox \
> +         --scratch \
> +         --nowait \
> +         --disk-size=40
> +done
This needs a Change to be added, it is too late for f22, it would need QA to 
agree to test, websites to add it to where ever needed, FESCo, and probably 
people I am forgetting to agree and sign off.  please submit a F23 change and 
we can get it building in rawhide

>  for spin in Atomic
>  do
>      declare -l lspin
> @@ -76,11 +95,8 @@ do
>           --release=$BUILD \
>           --distro Fedora-20 \
>           --kickstart=fedora-cloud-$lspin-$GITHASH.ks \
> -         --format=qcow2 --format=raw-xz \
> -         --format=vsphere-ova \
> -         --format=rhevm-ova \
> -         --ova-option vsphere_ova_format=vagrant-virtualbox \
> -         --ova-option rhevm_ova_format=vagrant-libvirt \
> +         --format=vagrant-virtualbox \
> +         --format=vagrant-libvirt \
>           --ova-option vagrant_sync_directory=/home/vagrant/sync \
>           --scratch \
>           --nowait \

ack, we also need to update run-pungi to gather the changed contents.  this is 
all something thatw ill be post Beta at this point in time.  you will need to 
coordinate with websites so that they know about the change in filenames.

Dennis


More information about the buildsys mailing list