RackHD/on-taskgraph

View on GitHub
data/profiles/install-debian.ipxe

Summary

Maintainability
Test Coverage
# Copyright 2017, Dell EMC, Inc.
echo Starting Debian/Ubuntu x64 installer for ${hostidentifier}

<% if( typeof progressMilestones !== 'undefined' && progressMilestones.enterProfileUri ) { %>
    imgfetch --name fakedimage http://<%=server%>:<%=port%><%-progressMilestones.enterProfileUri%> ||
    imgfree fakedimage ||
<% } %>

set base-url <%=repo%>/<%=baseUrl%>
kernel ${base-url}/linux
initrd ${base-url}/initrd.gz
imgargs linux initrd=initrd.gz auto=true nomodeset fb=false DEBIAN_FRONTEND=noninteractive url=<%=installScriptUri%> hostname=<%=hostname%> log_host=<%=server%> BOOTIF=01-<%=macaddress%> interface=<%=interface%> console=<%=comport%>,115200n8 console=tty0 raid=noautodetect <%=kargs%>

<% if( typeof progressMilestones !== 'undefined' && progressMilestones.startInstallerUri ) { %>
    imgfetch --name fakedimage http://<%=server%>:<%=port%><%-progressMilestones.startInstallerUri%> ||
    imgfree fakedimage ||
<% } %>

boot || prompt --key 0x197e --timeout 2000 Press F12 to investigate || exit shell