<div dir="ltr">Hello,<div><br></div><div>You'll want to just execute the build-centos shell script on a server running KVM. You can use an existing compute node -- just log directly into the compute node and run the script there. The script will take care of using the kickstart file for you. </div>
<div><br></div><div>Joe</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 10, 2013 at 4:20 AM, Mahardhika Gilang <span dir="ltr"><<a href="mailto:mahardika.gilang@andalabs.com" target="_blank">mahardika.gilang@andalabs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi joe, how to used that kickstart
file? sorry new for this type installation.<div class="im"><br>
<br>
On 10/9/2013 9:32 PM, Bob Ball wrote:<br>
</div></div>
<blockquote type="cite"><div><div class="h5">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Yes,
just to confirm the XenAPI driver will automatically resize
disks where it can without needing an agent / cloud-init
installed in the VM.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It
does this by mounting the disk in the domain running nova
and resizing the filesystem/device.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Bob<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Joe Topjian [<a href="mailto:joe.topjian@cybera.ca" target="_blank">mailto:joe.topjian@cybera.ca</a>]
<br>
<b>Sent:</b> 09 October 2013 14:52<br>
<b>To:</b> Tom Fifield<br>
<b>Cc:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> Re: [Openstack] What Exactly Flavor Work?<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">My understanding is that automatic
resize will occur if the following are all true:<br>
* auto_disk_config=True is set as a property on the
image in the Image Registry.<br>
* The disk on the image has only one partition.<br>
* The file system on the one partition is ext3 or
ext4.<u></u><u></u></p>
</blockquote>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I
think Xen provides some extra help in this area by
doing the resize itself (I *think*). KVM defers
the job to the user.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">There
was a long discussion on the openstack-operators
list about building CentOS images:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><a href="http://www.gossamer-threads.com/lists/openstack/operators/25790" target="_blank">http://www.gossamer-threads.com/lists/openstack/operators/25790</a><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">The
td;dr version would be this post where I link to
some scripts that are able to build a complete
CentOS image that resizes as you would expect:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><a href="http://www.gossamer-threads.com/lists/openstack/operators/28733#28733" target="_blank">http://www.gossamer-threads.com/lists/openstack/operators/28733#28733</a><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hope
that helps,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Joe<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal">Joe Topjian<u></u><u></u></p>
<div>
<p class="MsoNormal">Systems Architect<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Cybera Inc.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.cybera.ca" target="_blank">www.cybera.ca</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#666666">Cybera is
a not-for-profit organization that works to spur and
support innovation, for the economic benefit of
Alberta, through the use of cyberinfrastructure.</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><div class="im"><pre>_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
</div></blockquote>
<br><div class="im">
<br>
<div>-- <br>
Regards,<br>
Mahardhika Gilang<br>
<br>
<strong>PT. Andalabs Technology
</strong><br>
Gedung Gravira<br>
Jl. Cideng Barat no. 54<br>
Jakarta Pusat 10150<br>
<br>
Mobile : 0852 139 55861<br>
Email : <a href="mailto:mahardika.gilang@andalabs.com" target="_blank">mahardika.gilang@andalabs.com</a> </div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Joe Topjian<div>Systems Architect</div><div>Cybera Inc.</div><div><br></div><div><a href="http://www.cybera.ca" target="_blank">www.cybera.ca</a></div>
<div><br></div><div><font color="#666666"><span>Cybera</span><span> is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta, through the use of cyberinfrastructure.</span></font></div>
</div>
</div>