<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Thanks, but I still don’t understand why there are 2 squash images though.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> Gianluca Cecchi [mailto:gianluca.cecchi@gmail.com]
<br>
<b>Sent:</b> Saturday, April 21, 2018 12:59 AM<br>
<b>To:</b> Justin Zygmont &lt;jzygmont@proofpoint.com&gt;<br>
<b>Cc:</b> users@ovirt.org<br>
<b>Subject:</b> Re: [ovirt-users] ovirt question<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">On Sat, Apr 21, 2018 at 3:11 AM, Justin Zygmont &lt;<a href="mailto:jzygmont@proofpoint.com" target="_blank">jzygmont@proofpoint.com</a>&gt; wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I was wondering why there has to be 2 node squash images?&nbsp; A LiveOS/squash.img and a ovirt-node-ng-image.squashfs.img in the ISO for download, and which one should be used?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">When doing a kickstart installation I noticed it uses the Live OS image from the inst.stage2= and in the kickstart.cfg it would reference the other node image from liveimg --url<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Is there any documentation around doing kickstart installs with oVirt?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I too tried some weeks ago (4.2.1 if I remeber correctly) and was confused....<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I was able to succesfully deploy, with these steps and pxe, also taking &quot;inspiration&quot; on what written at this link:<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_oVirt_ovirt-2Dnode-2Dng_blob_master_docs_book_install.md&amp;d=DwMFaQ&amp;c=Vxt5e0Osvvt2gflwSlsJ5DmPGcPvTRKLJyp031rXjhg&amp;r=FiPhL0Cl1ymZlnTyAIIL75tE4L0reHcDdD-7wUtUGHA&amp;m=rgnKzgcbneUduKTLB3TK11-C0nujZ9pmv5fb29w3P6M&amp;s=7e2QHo5p940uHfpIDVGgpWYEmvdU_hv19H4TzdDSdP0&amp;e=" target="_blank">https://github.com/oVirt/ovirt-node-ng/blob/master/docs/book/install.md</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">note: my pxe server makes also as dhcp server and http server for install<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
- iso of node-ng-installer <br>
mounted (via loop in my case) under /var/www/html/ovnode42 of pxe server<br>
<br>
-under /var/www/html created directory ovnode2_stage2 containing<br>
product.img (6k of file) downloaded here:<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__jenkins.ovirt.org_job_ovirt-2Dnode-2Dng-5Fovirt-2D4.2-5Fbuild-2Dartifacts-2Del7-2Dx86-5F64_lastStableBuild_artifact_exported-2Dartifacts_&amp;d=DwMFaQ&amp;c=Vxt5e0Osvvt2gflwSlsJ5DmPGcPvTRKLJyp031rXjhg&amp;r=FiPhL0Cl1ymZlnTyAIIL75tE4L0reHcDdD-7wUtUGHA&amp;m=rgnKzgcbneUduKTLB3TK11-C0nujZ9pmv5fb29w3P6M&amp;s=hd2ex3r30up9YjbMif_YZQkk6ONU9wynqDjXAaxXVbE&amp;e=" target="_blank">http://jenkins.ovirt.org/job/ovirt-node-ng_ovirt-4.2_build-artifacts-el7-x86_64/lastStableBuild/artifact/exported-artifacts/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">--&gt; why not included..?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I think in theory one can downoad here also the file updates.img and it should update the base version of the iso... TBV (not tested by me)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">---&gt; where to get the updates.img? Perhaps inside ovirt-node-ng-image-update-x.y.z.rpm?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
- inside ovnode2_stage2 created directory LiveOS and inside it created the link<br>
ln -sf /var/www/html/ovnode42/LiveOS/squashfs.img /var/www/html/ovnode42_stage2/LiveOS/squashfs.img<br>
<br>
<br>
- the pxe file <br>
<br>
It contains<br>
<br>
default pxeboot<br>
timeout 50<br>
label pxeboot<br>
kernel vmlinuz.ovnode42<br>
append initrd=initrd.ovnode42.img inst.ks=<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.122.1_ovnode42.ks&amp;d=DwMFaQ&amp;c=Vxt5e0Osvvt2gflwSlsJ5DmPGcPvTRKLJyp031rXjhg&amp;r=FiPhL0Cl1ymZlnTyAIIL75tE4L0reHcDdD-7wUtUGHA&amp;m=rgnKzgcbneUduKTLB3TK11-C0nujZ9pmv5fb29w3P6M&amp;s=2j4G8J91YRcAtTH5JYykwQauX3-YYwuAVOf_As5FMjs&amp;e=" target="_blank">http://192.168.122.1/ovnode42.ks</a>
 inst.stage2=<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.122.1_ovnode42-5Fstage2_&amp;d=DwMFaQ&amp;c=Vxt5e0Osvvt2gflwSlsJ5DmPGcPvTRKLJyp031rXjhg&amp;r=FiPhL0Cl1ymZlnTyAIIL75tE4L0reHcDdD-7wUtUGHA&amp;m=rgnKzgcbneUduKTLB3TK11-C0nujZ9pmv5fb29w3P6M&amp;s=bgorHrFZRlkzBi4oljt0NO2kH8OsuS3Wpr8cj51lSdk&amp;e=" target="_blank">http://192.168.122.1/ovnode42_stage2/</a>
 verbose<br>
<br>
<br>
- kickstart file<br>
<br>
in /var/www/html created file ovnode42.ks <br>
it contains<br>
<br>
install<br>
lang en_US.UTF-8<br>
keyboard us<br>
rootpw&nbsp; --plaintext my_password<br>
network --bootproto=dhcp<br>
timezone --utc Europe/Rome<br>
firewall --service=ssh<br>
<br>
liveimg --url=<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.122.1_ovnode42_ovirt-2Dnode-2Dng-2Dimage.squashfs.img&amp;d=DwMFaQ&amp;c=Vxt5e0Osvvt2gflwSlsJ5DmPGcPvTRKLJyp031rXjhg&amp;r=FiPhL0Cl1ymZlnTyAIIL75tE4L0reHcDdD-7wUtUGHA&amp;m=rgnKzgcbneUduKTLB3TK11-C0nujZ9pmv5fb29w3P6M&amp;s=1bhy8J4Y7Il6RBc8WYH0tD_35B2H-syyR9QGJsIBaSI&amp;e=" target="_blank">http://192.168.122.1/ovnode42/ovirt-node-ng-image.squashfs.img</a><br>
<br>
# partitioning - nuke and start fresh<br>
zerombr<br>
clearpart --all --initlabel<br>
autopart --type=thinp<br>
bootloader --location=mbr<br>
<br>
#reboot<br>
<br>
last line left commented to cross-check before reboot<br>
<br>
at pxe boot the graphical install comes up and completes the install without any prompt<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">It only asks to reboot as I commented out the line above<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
verified that after reboot I was able to connect to the server at https on port 9090 and getting the node dashboard<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">any validation comment?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">HIH,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Gianluca<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>