diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-12-02 00:44:02 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-12-02 14:24:12 -0300 |
commit | d7966acd156547b7c236156e4afca0f3036362b0 (patch) | |
tree | cd1f311a35a857098b345359d4d88c7aee75ddb9 /configs/releng/syslinux/archiso.cfg | |
parent | 3df0be6a228745e9ea3102ede4fb865089d73b15 (diff) | |
download | archiso32-d7966acd156547b7c236156e4afca0f3036362b0.tar.xz |
[configs/releng] Use whichsys.c32 to determine bootloader type
* In that way we can have two differents syslinux menus depending if booting from
PXE or from non-PXE.
Some file renames are made to keep things ordered:
archiso_pxe* all things related to PXELINUX
archiso_sys* all things related to SYSLINUX
*_inc.cfg only contains INCLUDE directive
* By default NBD PXE option is selected for booting on timeout.
* As (NDB/NFS/HTTP/FTP) server is used the same IP from pxeserver.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/releng/syslinux/archiso.cfg')
-rw-r--r-- | configs/releng/syslinux/archiso.cfg | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/configs/releng/syslinux/archiso.cfg b/configs/releng/syslinux/archiso.cfg index 1228355..126fc77 100644 --- a/configs/releng/syslinux/archiso.cfg +++ b/configs/releng/syslinux/archiso.cfg @@ -1,3 +1,11 @@ -INCLUDE boot/syslinux/archiso_head.cfg -INCLUDE boot/syslinux/archiso_arch.cfg -INCLUDE boot/syslinux/archiso_tail.cfg +DEFAULT select + +LABEL select +COM32 boot/syslinux/whichsys.c32 +APPEND -pxe- pxe -sys- sys -iso- sys + +LABEL pxe +CONFIG boot/syslinux/archiso_pxe_inc.cfg + +LABEL sys +CONFIG boot/syslinux/archiso_sys_inc.cfg |