diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-03 19:23:24 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-03 19:31:24 +0100 |
commit | 304df73f32375ce38a8e56ee394ba45e6dd14928 (patch) | |
tree | de1e7c9df1713dcb4c0e07966e778437fd45c8ea /modules/syslinux/templates/syslinux.cfg.epp | |
parent | Setup syslinux. (diff) | |
download | webdav_server-304df73f32375ce38a8e56ee394ba45e6dd14928.tar.gz webdav_server-304df73f32375ce38a8e56ee394ba45e6dd14928.tar.xz |
Rework syslinux.
Diffstat (limited to 'modules/syslinux/templates/syslinux.cfg.epp')
-rw-r--r-- | modules/syslinux/templates/syslinux.cfg.epp | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/modules/syslinux/templates/syslinux.cfg.epp b/modules/syslinux/templates/syslinux.cfg.epp index 4386b74..0d0b946 100644 --- a/modules/syslinux/templates/syslinux.cfg.epp +++ b/modules/syslinux/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 -<%- } -%> - |