summaryrefslogtreecommitdiff
path: root/templates/syslinux.cfg.epp
diff options
context:
space:
mode:
Diffstat (limited to 'templates/syslinux.cfg.epp')
-rw-r--r--templates/syslinux.cfg.epp19
1 files changed, 5 insertions, 14 deletions
diff --git a/templates/syslinux.cfg.epp b/templates/syslinux.cfg.epp
index 4386b74..0d0b946 100644
--- a/templates/syslinux.cfg.epp
+++ b/templates/syslinux.cfg.epp
@@ -1,6 +1,5 @@
<%- | String $default,
- Hash $linux,
- Hash $com32,
+ Hash $entries,
| -%>
# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
@@ -53,17 +52,9 @@ MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
#-*
-<%- $linux.each |$name, $entry| { -%>
+<%- $entries.each |$name, $entry| { -%>
LABEL <%= $name %>
- MENU LABEL <%= $entry['label'] %>
- LINUX ../arch/vmlinuz-<%= $syslinux::kernel %>
- APPEND <%= $entry['args'] %>
- INITRD ../arch/<%= $entry['initrd'] %>
+ <%- $entry.each |$k, $v| { -%>
+ <%= $k %> <%= $v %>
+ <%- } -%>
<%- } -%>
-
-<%- $com32.each |$name, $entry| { -%>
-LABEL <%= $name %>
- MENU LABEL <%= $entry['label'] %>
- COM32 <%= $entry['com'] %>.c32
-<%- } -%>
-