• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    add sub menu to fog

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    2
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zingaro
      last edited by

      Server
      • FOG Version:
      • OS:
      Client
      • Service Version:
      • OS:
      Description

      Hi,
      I need to create a sub menu into advanced fog menu entry;
      there are too many entries “:name”

      Could you help me to create a new sub-menu ?

      Regards

      1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator
        last edited by

        To create a menu in the advanced one, you must fill it in under iPXE General Configuration -> Advanced Menu Settings > Advanced Menu Commands

        example:

        :urls
        set msdart-url http://192.168.1.155/2-MSDART
        :MENU
        menu
        colour --rgb 0xff0000 0 ||
        cpair --foreground 1 1 ||
        cpair --foreground 0 3 ||
        cpair --foreground 4 4 ||
        item --gap -- -------------------------------------
        item fog.local Boot from hard disk
        item msdart6x86 Microsoft DaRT for Windows Vista 32bit
        item msdart6x64 Microsoft DaRT for Windows Vista 64bit
        item msdart7x86 Microsoft DaRT for Windows 7 32bit
        item msdart7x64 Microsoft DaRT for Windows 7 64bit
        item msdart81x86 Microsoft DaRT for Windows 8.1 32bit
        item msdart81x64 Microsoft DaRT for Windows 8.1 64bit
        item fog.return Return to previous menu
        choose --default fog.local --timeout 5000000 target && goto ${target}
        :fog.local
        sanboot --no-describe --drive 0x80 || goto MENU
        :msdart6x86
        initrd ${msdart-url}/MSDaRT60x86.iso
        chain memdisk iso raw
        :msdart6x64
        initrd ${msdart-url}/MSDaRT60x64.iso
        chain memdisk iso raw
        :msdart7x86
        initrd ${msdart-url}/MSDaRT70x86.iso
        chain memdisk iso raw
        :msdart7x64
        initrd ${msdart-url}/MSDaRT70x64.iso
        chain memdisk iso raw
        :msdart81x86
        initrd ${msdart-url}/MSDaRT8.1x86.iso
        chain memdisk iso raw
        :msdart81x64
        initrd ${msdart-url}/MSDaRT8.1x64.iso
        chain memdisk iso raw
        :fog.return
        chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
        prompt
        goto MENU
        
        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post

        163

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project