
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$ biosdevname=0 net.ifnames=0 BOOTIF=01-$CLIENT_MAC_DASH_LOWER$  ksdevice=bootif ks=http://$SERVER_IP$:$HTTP_PORT$/kickstart/01-$CLIENT_MAC_DASH_LOWER$.auto ip=$CLIENT_IP$ netmask=$SERVER_MASK$ gateway=$GATEWAY_IP$  hostname=CENTOS$CLIENT_IP_B0$

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

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