
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$/live/vmlinuz  boot=live union=overlay username=user config components quiet noswap edd=on nomodeset locales=en_US.UTF-8 keyboard-layouts=NONE ocs_live_run="/opt/VSR/setup_vsr_pxe.sh" ocs_live_extra_param="" ocs_live_batch="no" ocs_final_action="reboot" vga=788 ip= net.ifnames=0  nosplash i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.enable_fbdev=1 fetch=$HTTP_IMG_URL$/live/filesystem.squashfs ocs_prerun="mkdir /mnt/cdrom" $EXT_BOOT_OPT$

    echo -en 'OK\nDownloading initrd ... '
    initrd $HTTP_IMG_ROOT$/live/initrd.img

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