In the hiveos-pxe-diskless/pxeserver/pxe-config.sh script I need to update lines 245-251. The filenames were being hardcode to a fixed location but my installation was in a different directory. Below is how a changed the file to get the install to work.
In the hiveos-pxe-diskless/pxeserver/pxe-config.sh script I need to update lines 245-251. The filenames were being hardcode to a fixed location but my installation was in a different directory. Below is how a changed the file to get the install to work.
`#making uefi
grub-mkimage -d /usr/lib/grub/x86_64-efi/ -O x86_64-efi -o $mydir/tftp/efi/grubnetx64.efi --prefix="(tftp,$IP)/efi" efinet tftp efi_uga efi_gop http
chmod -R 777 $mydir/
make sed /pxeserver/tftp/efi/grub.cfg
sed -i "/set net_default_server=/c set net_default_server=$IP" $mydir/tftp/efi/grub.cfg
sed -i "/set fs_size=/c set fs_size=${FS_SIZE}M" $mydir/tftp/efi/grub.cfg
sed -i "/set arch_name=/c set arch_name=$ARCH_NAME" $mydir/tftp/efi/grub.cfg `