Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DEFAULT menu
- PROMPT 0
- MENU TITLE PXE Menu
- TIMEOUT 200
- TOTALTIMEOUT 6000
- ONTIMEOUT local
- LABEL local
- MENU LABEL (local)
- MENU DEFAULT
- LOCALBOOT 0
- <% for profile in @profiles -%>
- LABEL <%= "#{profile[:template]} - #{profile[:hostgroup]}" %>
- kernel <%= profile[:hostgroup].operatingsystem.kernel(profile[:hostgroup].architecture) %>
- <% case profile[:hostgroup].operatingsystem.pxe_type -%>
- <% when "kickstart" -%>
- append initrd=<%= profile[:hostgroup].operatingsystem.initrd(profile[:hostgroup].architecture) %> ks=<%= default_template_url(profile[:template], profile[:hostgroup]) %> ksdevice=bootif network kssendmac
- <% when "preseed" -%>
- append initrd=<%= profile[:hostgroup].operatingsystem.initrd(profile[:hostgroup].architecture) %> interface=auto url=<%= default_template_url(profile[:template], profile[:hostgroup]) %> ramdisk_size=10800 root=/dev/rd/0 rw auto hostname=unassigned-hostname locale=en_US console-setup/ask_detect=false console-setup/layout=USA console-setup/variant=USA
- <% end -%>
- <% end -%>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement