# yum install /usr/bin/oz-install
myImage.tdl
per una immagine di prova (ad esempio una CentOS 6.3): <template> <name>centos-6.3</name> <description>centos 6.3</description> <os> <name>CentOS-6</name> <version>3</version> <arch>x86_64</arch> <install type='url'> <url>http://centos.mirrors.chicagovps.net/6.3/os/x86_64/</url> </install> <rootpw>password</rootpw> </os> <files> <file name='/root/ciao.txt'> cippone </file> </files> <commands> <command name="copy"> cp /root/ciao.txt /root/ciao2.txt </command> </commands> </template>Verificare i sistemi operativi e relative versioni supportate con il comando
oz-install -h
.
# oz-install myImage.tdl
# glance add name=centos-6.3 disk_format=qcow2 container_format=bare < /stackimages/centos-6.3.dsk
![]() |
![]() |
|
![]() |
|
![]() |