
set root=(http,$SERVER_IP$)
set pxe_http_port=$HTTP_PORT$
set prefix=(http,$SERVER_IP$)/uis_loader/grub2

uds_func_install_mods
uds_func_set_gfx

set timeout=0

menuentry uds {   
    
    echo -en 'Downloading kernel ... '
    linux  $HTTP_IMG_ROOT$/images/pxeboot/vmlinuz $EXT_BOOT_OPT$ rd.break=initqueue console=tty0 console=ttyS0,115200 loglevel=7 rd.break=initqueue  net.ifnames=0  biosdevname=0

    echo -en 'OK\nDownloading initrd ... '
    initrd  $HTTP_IMG_ROOT$/images/pxeboot/initrd.img  $UDS_DRIVER_FMT$

    echo -en 'OK\nBooting ...'
    boot
}
