aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/auto_installation/manifests/init.pp2
-rw-r--r--modules/auto_installation/templates/menu5
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/auto_installation/manifests/init.pp b/modules/auto_installation/manifests/init.pp
index 7c5baf64..0e8bdcfd 100644
--- a/modules/auto_installation/manifests/init.pp
+++ b/modules/auto_installation/manifests/init.pp
@@ -63,7 +63,7 @@ class auto_installation {
}
}
- define pxe_menu_entry($kernel_path, $append) {
+ define pxe_menu_entry($kernel_path, $append, $label) {
@@auto_installation::pxe_menu_base { $name:
tag => $fqdn,
content => template('auto_installation/menu'),
diff --git a/modules/auto_installation/templates/menu b/modules/auto_installation/templates/menu
new file mode 100644
index 00000000..b7f6c910
--- /dev/null
+++ b/modules/auto_installation/templates/menu
@@ -0,0 +1,5 @@
+LABEL <%= name %>
+ MENU DEFAULT
+ MENU LABEL Install <%= label %>
+ kernel <%= kernel_path %>
+ append <%= append %>