summaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-20 17:40:37 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-20 17:40:37 +0200
commitf689374cb50471ab8a8b82c78a545cd76a907850 (patch)
treec3e511c1e9c15e3bfac7df194f64c998bc74e5de /types
parentAdd µCode-updates to syslinux initrd. (diff)
downloadsyslinux-f689374cb50471ab8a8b82c78a545cd76a907850.tar.gz
syslinux-f689374cb50471ab8a8b82c78a545cd76a907850.tar.xz
Move syslinux types into subdir.
Diffstat (limited to 'types')
-rw-r--r--types/bootentry.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/types/bootentry.pp b/types/bootentry.pp
new file mode 100644
index 0000000..38fc8b1
--- /dev/null
+++ b/types/bootentry.pp
@@ -0,0 +1,9 @@
+type Syslinux::Bootentry = Struct[{
+ 'label' => String,
+ 'type' => Enum['linux','com'],
+ # linux specific
+ 'extra_args' => Optional[String],
+ 'initrd' => Optional[String],
+ # com specific
+ 'com' => Optional[String],
+}]