Commit d8612acc authored by Jonathan Swaelens's avatar Jonathan Swaelens

🚑 fix(nfsroot-hooks): Add msg warning for linking pxelinux.cfg for EFI32 and EFI64

Add msg warning for linking pxelinux.cfg for EFI32 and EFI64
Signed-off-by: default avatarJonathan Swaelens <swaelens.jonathan@opensides.be>
parent b96bd123
...@@ -123,6 +123,10 @@ fi ...@@ -123,6 +123,10 @@ fi
# Actions for TFTPROOT_EFI32 if declared # Actions for TFTPROOT_EFI32 if declared
if [ -n "$TFTPROOT_EFI32" ]; then if [ -n "$TFTPROOT_EFI32" ]; then
# WARNING about linking pxelinux.cfg
msg "WARNING: not forget to link pxelinux.cfg in $TFTPROOT_EFI32"
msg "WARNING: for exemple"
msg "WARNING: cd $TFTPROOT_EFI32 ; ln -s ../bios/pxelinux.cfg $TFTPROOT_EFI32/pxelinux.cfg"
# Copy as default kernel (TFTPROOT_EFI32) # Copy as default kernel (TFTPROOT_EFI32)
if [ -f "$TFTPROOT"/vmlinuz-"$version" ]; then if [ -f "$TFTPROOT"/vmlinuz-"$version" ]; then
msg "installing vmlinuz-install in $TFTPROOT_EFI32" msg "installing vmlinuz-install in $TFTPROOT_EFI32"
...@@ -160,6 +164,10 @@ fi ...@@ -160,6 +164,10 @@ fi
# Actions for TFTPROOT_EFI64 if declared # Actions for TFTPROOT_EFI64 if declared
if [ -n "$TFTPROOT_EFI64" ]; then if [ -n "$TFTPROOT_EFI64" ]; then
# WARNING about linking pxelinux.cfg
msg "WARNING: not forget to link pxelinux.cfg in $TFTPROOT_EFI64"
msg "WARNING: for exemple"
msg "WARNING: cd $TFTPROOT_EFI64 ; ln -s ../bios/pxelinux.cfg $TFTPROOT_EFI64/pxelinux.cfg"
# Copy as default kernel (TFTPROOT_EFI64) # Copy as default kernel (TFTPROOT_EFI64)
if [ -f "$TFTPROOT"/vmlinuz-"$version" ]; then if [ -f "$TFTPROOT"/vmlinuz-"$version" ]; then
msg "installing vmlinuz-install in $TFTPROOT_EFI64" msg "installing vmlinuz-install in $TFTPROOT_EFI64"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment