Changes

From Amahi Wiki
Jump to: navigation, search
562 bytes added ,  15:50, 26 January 2014
no edit summary
<bu>NOTE'''amahi-netboot Work Around''' (add to netboot template)</u> * Add after HDAIP variable line:<pre>cat > html/amahi-pxe.conf << EOFdhcp-boot=pxelinux.0,hda,$HDAIP #insert hda IPenable-tftptftp-root=/var/lib/tftpbootEOF</bpre> This is specific to Fedora 19 * Add after #!/bin/bash line:<pre>if [ -f /etc/dnsmasq.d/amahi-pxe.conf ]; then# Skip updateelse### START amahi-netboot work around ###sed -i '14s/yes/no/' /etc/xinetd.d/tftp;cp html/amahi-pxe.conf /etc/dnsmasq.d/amahi-pxe.conf;# restart dnsmasqsystemctl restart dnsmasq.service### END amahi-netboot work around ###fi</pre>
<u>'''INSTALL'''</u>
rm -rf $NBPATH/menu/$WASNAM.mnu;
cp $NBPATH/pxelinux.cfg/default.bu $NBPATH/pxelinux.cfg/default;
if [ -f $NBPATH/menu/*.mnu ]; then
cat $NBPATH/menu/*.mnu >> $NBPATH/pxelinux.cfg/default
fi
echo "Uninstallation complete.";
# End of $WALNAM Uninstall
12,424

edits