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

Dennis Gilmore dennis at ausil.us
Fri Apr 24 03:15:09 UTC 2015


Applied thanks

On Friday, April 17, 2015 08:59:35 AM Ian McLeod wrote:
> use new vagrant koji format options and add Cloud Vagrant box
> ---
>  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
> +
>  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 \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.fedoraproject.org/pipermail/rel-eng/attachments/20150423/9febaa5d/attachment.sig>


More information about the rel-eng mailing list