<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><span>This may help you:</span><br>
</p>
<p><span><br>
</span></p>
<p><span></p>
<div> - Set the NIC for PXE server on the jumper to a static IP.</div>
<div><br>
</div>
<div> - Install and config dnsmasq:</div>
<div>    ```</div>
<div>    $ sudo apt-get install dnsmasq</div>
<div>    $ sudo vi /etc/dnsmasq.conf</div>
<div>    $ sudo service dnsmasq restart</div>
<div>    ```</div>
<div>    Example of /etc/dnsmasq.conf:</div>
<div>    ```</div>
<div>    interface=nic_name                    ## NIC for PXE Server</div>
<div>    bind-interfaces</div>
<div>    dhcp-range=10.10.10.150,10.10.10.200  ## DHCP Range for PXE install</div>
<div>    dhcp-boot=grubx64.efi                 ## StarlingX PXE boot file</div>
<div>    enable-tftp</div>
<div>    tftp-root=/var/lib/tftpboot/uefi      ## tftp server location</div>
<div><br>
</div>
<div>    ### Fix PXE/OAM NIC for Test Nodes</div>
<div>    # testnode-1</div>
<div>    dhcp-host=12:34:56:78:90:AB,10.10.10.151</div>
<div>    # testnode-1</div>
<div>    dhcp-host=12:34:56:78:90:AC,10.10.10.152</div>
<div><br>
</div>
<div><br>
</div>
<div><span>Below is my configuration /etc/dnsmasq.conf:</span><br>
</div>
<div><span><br>
</span></div>
<div>
<div>interface=eno1</div>
<div># DHCP range-leases</div>
<div>dhcp-range= eno1,192.168.3.50,192.168.3.100,255.255.255.0,1h</div>
<div># PXE</div>
<div>dhcp-boot=pxelinux.0</div>
<div># Gateway</div>
<div>dhcp-option=3,192.168.3.3</div>
<div>enable-tftp</div>
<div>tftp-root=/var/lib/tftpboot</div>
<div>dhcp-host=94:c6:91:a9:54:f9,192.168.3.157</div>
<div><br>
</div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">sudo apt-get install <span>apache2</span></span><br>
</div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span><span>systemctl start apache2.service</span><br>
</span></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span><span><br>
</span></span></span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><span><span>The attachment is a simple script I wrote, for reference
 only.</span><br>
</span></span></div>
<br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
</span>
<p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>发件人:</b> Amit Mahajan <ebiibe82@gmail.com><br>
<b>发送时间:</b> 2020年9月7日 16:34:14<br>
<b>收件人:</b> starlingx-discuss@lists.starlingx.io<br>
<b>主题:</b> [Starlingx-discuss] Regarding installation of controller-0 from PXE boot server</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi All,
<div><br>
</div>
<div>Is there any documentation which can guide on setting up a StarlingX PXE boot server so that I can install controller-0 from this PXE server?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Amit</div>
</div>
</div>
---------------------------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)<br>
is intended only for the use of the intended recipient and may be confidential and/or privileged of<br>
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication<br>
is not the intended recipient,unauthorized use,forwarding, printing, storing, disclosure or copying<br>
is strictly prohibited, and may be unlawful.If you have received this communication in error,please<br>
immediately notify the sender by return e-mail, and delete the original message and all copies from<br>
your system. Thank you.<br>
---------------------------------------------------------------------------------------------------
</body>
</html>