<%#
kind: PXELinux
name: Alterator default PXELinux
oses:
- ALTLinux p6
- ALTLinux p7
-%>
<%#
  This template will not function with Safemode set to true.
    Please disable it in Settings > Provisioning
%>
<%
    metadata    = @host.token.nil? ? '?metadata=' : '&metadata='
    os          = @host.operatingsystem
    mediumpath  = os.mediumpath @host
-%>
DEFAULT linux

LABEL linux
    KERNEL <%= @kernel %>
    APPEND initrd=<%= @initrd %> stagename=altunat showopts ramdisk_size=150000 automatic=<%= mediumpath %>,directory:/altlinux/p<%= @host.operatingsystem.major %>/<%= @host.architecture %> ai curl=<%= foreman_url('provision')%><%= metadata %>

