#!ipxe

# =======================================================================
# Auteur      : th.dabout
# Version     : 1
# Description : Script de boot reseau pour SystemRescue chez i3D
# =======================================================================

echo "==================================================================="
echo "Demarrage SystemRescue Nameshield from ipxeiaasns.nameshield.net"
echo "==================================================================="

imgfree

# CONFIGURATION DES VARIABLES

set base-url http://i3d:Seventh1-Epidermis-Prodigal-Zookeeper-Clapper@81.92.84.126/systemrescue-v12/live

set ip-param ip=${IPXE_BOOT_IP}::${IPXE_BOOT_GATEWAY}:${IPXE_BOOT_NETMASK}

# PHASE DE CHARGEMENT

kernel ${base-url}/vmlinuz archisobasedir=sysresccd archiso_http_srv=${base-url} ${ip-param} net.ifnames=0 setkmap=fr

initrd ${base-url}/amd_ucode.img
initrd ${base-url}/intel_ucode.img
initrd ${base-url}/sysresccd.img

# EXECUTION

boot
