<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">​inst.stage2 = This specifies the location to fetch ONLY the installer runtime image; packages will be ignored. ​</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I think it is helping to streamline ovirt-node build, as installation part is untouch OS and we deploy 2nd squash as image of node.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 23, 2018 at 9:38 PM, Justin Zygmont <span dir="ltr">&lt;<a href="mailto:jzygmont@proofpoint.com" target="_blank">jzygmont@proofpoint.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div class="m_1930658691198822490WordSection1">
<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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></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:<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.<wbr>com</a>]
<br>
<b>Sent:</b> Saturday, April 21, 2018 12:59 AM<br>
<b>To:</b> Justin Zygmont &lt;<a href="mailto:jzygmont@proofpoint.com" target="_blank">jzygmont@proofpoint.com</a>&gt;<br>
<b>Cc:</b> <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
<b>Subject:</b> Re: [ovirt-users] ovirt question<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></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:<u></u><u></u></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">I was wondering why there has to be 2 node squash images?  A LiveOS/squash.img and a ovirt-node-ng-image.squashfs.<wbr>img in the ISO for download, and which one should be used?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">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<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Is there any documentation around doing kickstart installs with oVirt?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></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....<u></u><u></u></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/<wbr>ovirt-node-ng/blob/master/<wbr>docs/book/install.md</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">note: my pxe server makes also as dhcp server and http server for install<u></u><u></u></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/<wbr>ovirt-node-ng_ovirt-4.2_build-<wbr>artifacts-el7-x86_64/<wbr>lastStableBuild/artifact/<wbr>exported-artifacts/</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">--&gt; why not included..?<u></u><u></u></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)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">---&gt; where to get the updates.img? Perhaps inside ovirt-node-ng-image-update-x.<wbr>y.z.rpm?<u></u><u></u></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/<wbr>squashfs.img /var/www/html/ovnode42_stage2/<wbr>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/<wbr>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.<wbr>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  --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/<wbr>ovnode42/ovirt-node-ng-image.<wbr>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<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">It only asks to reboot as I commented out the line above<u></u><u></u></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<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">any validation comment?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">HIH,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Gianluca<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</div>

<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>PAVOL</span> <span>BRILLA</span></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span>RHV QUALITY ENGINEER, CLOUD</span></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank"><font color="#0088ce"><span>Red Hat</span></font><font color="#0088ce"><span> </span></font><span style="color:rgb(0,136,206);margin:0px">Czech Republic, Brno</span></a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td><td style="font-size:10px"><div><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></div></td></tr></tbody></table></div></div></div></div></div>
</div>