FOG PXE inventory issuess


  • Senior Developer

    Is this with the inventory task scheduled?



  • Hi Tom,
    below output:


    #!ipxe
    set fog-ip 172.21.100.2
    set fog-webroot fog
    set boot-url [url]http://${fog-ip}/${fog-webroot}[/url]
    cpuid --ext 29 && set arch x86_64 || set arch i386
    goto get_console
    :console_set
    colour --rgb 0xff6600 2
    cpair --foreground 7 --background 2 2
    goto MENU
    :alt_console
    cpair --background 0 1 && cpair --background 1 2
    goto MENU
    :get_console
    console --picture [url]http://172.21.100.2/fog/service/ipxe/bg.png[/url] --left 100 --right 80 && goto console_set || goto alt_console
    :MENU
    menu
    colour --rgb 0x00ff00 0
    cpair --foreground 0 3
    item --gap Host is registered as knur-41
    item --gap – -------------------------------------
    item fog.local Boot from hard disk
    item fog.memtest Run Memtest86+
    item fog.keyreg Update Product Key
    item fog.quickimage Quick Image
    item fog.multijoin Join Multicast Session
    item fog.quickdel Quick Host Deletion
    item fog.sysinfo Client System Information (Compatibility)
    item fog.advancedlogin Advanced Menu
    choose --default fog.local --timeout 2000 target && goto ${target}
    :fog.local
    chain -ar [url]http://172.21.100.2/fog/service/ipxe/grub.exe[/url] --config-file=“rootnoverify (hd0);chainloader +1” || goto MENU
    :fog.memtest
    kernel memdisk iso raw
    initrd memtest.bin
    boot || goto MENU
    :fog.keyreg
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param keyreg 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :fog.quickimage
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param qihost 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :fog.multijoin
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param sessionJoin 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :fog.quickdel
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param delhost 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :fog.sysinfo
    kernel bzImage32 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.21.100.2/fog/ consoleblank=0 loglevel=4 mode=sysinfo
    imgfetch init_32.xz
    boot || goto MENU
    :fog.advancedlogin
    login
    params
    param mac0 ${net0/mac}
    param arch ${arch}
    param username ${username}
    param password ${password}
    param advLog 1
    isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
    isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
    :bootme
    chain -ar [url]http://172.21.100.2/fog/service/ipxe/boot.php##params[/url] ||
    goto MENU
    autoboot


    Regards


  • Senior Developer

    I am attempting to replicate the issue as I haven’t changed boot settings in a little while other than to try allowing for multicast and port overrides. That said, can you try giving me the output of:

    [url]http://<ipoffogserver>/fog/service/ipxe/boot.php?mac=MACWithColonOfHostToBeInventoried[/url]


Log in to reply
 

394
Online

6.1k
Users

13.4k
Topics

126.4k
Posts