[Rdo-list] Create el6-based glance image.

Shake Chen shake.chen at gmail.com
Mon Apr 22 15:29:22 UTC 2013


Great tool. now I am testing and seem working and have no any problem.


On Mon, Apr 22, 2013 at 8:04 PM, Thomas Oulevey <thomas.oulevey at cern.ch>wrote:

> Hello RDO users,
>
> I have little tool to create small el6 based Glance images, I like to
> share. (no more cirros ;)
>
> It is called: create-glance-image-el6.sh
>
> usage: $0 OPTIONS -u <url> <imagename>
> This script create a small(-ish) el6-based image for Glance and can import
> it.
> OPTIONS:
> -a make image public in Glance
> -e extras packages to install e.g: "ipmitool mypkg2 mypkg3" ;
> -g execute glance command instead of printing it ;
> -h print this help ;
> -n nameserver ;
> -p set root password / default: toor ;
> -s image size. (number of block of 1024) / default: 2097152
> -u release rpm url or file ;
>
>
> I tested it with 3 different distributions:
>
> centos : sudo create-glance-image-el6.sh -u http://mirror.switch.ch/ftp/**
> mirror/centos/6.4/os/x86_64/**Packages/centos-release-6-4.**
> el6.centos.10.x86_64.rpm<http://mirror.switch.ch/ftp/mirror/centos/6.4/os/x86_64/Packages/centos-release-6-4.el6.centos.10.x86_64.rpm>mycentos64
>
> scientific linux : sudo create-glance-image-el6.sh -u
> http://ftp.scientificlinux.**org/linux/scientific/6.4/x86_**
> 64/os/Packages/sl-release-6.4-**1.x86_64.rpm<http://ftp.scientificlinux.org/linux/scientific/6.4/x86_64/os/Packages/sl-release-6.4-1.x86_64.rpm>mysl64
>
> slc : sudo create-glance-image-el6.sh -u http://linuxsoft.cern.ch/cern/**
> slc6X/x86_64/Packages/sl-**release-6.4-1.slc6.x86_64.rpm<http://linuxsoft.cern.ch/cern/slc6X/x86_64/Packages/sl-release-6.4-1.slc6.x86_64.rpm>myslc64
>
>
> Please use different mirrors.
> Please not you need to use -g to automate the Glance upload.
> Please test on development server : NO WARRANTIES
>
> Code & Download : https://github.com/alphacc/**openstack-tools<https://github.com/alphacc/openstack-tools>
>
> Feedback is welcome !
>
> Thomas.
>
> ______________________________**_________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/**mailman/listinfo/rdo-list<https://www.redhat.com/mailman/listinfo/rdo-list>
>



-- 
Shake Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20130422/abae4aa7/attachment.html>


More information about the dev mailing list