From 6fc2da9574123f55720092715fcf72f83e5514f9 Mon Sep 17 00:00:00 2001 From: Yasmin Valim Date: Fri, 8 Sep 2023 17:49:15 -0300 Subject: [PATCH] fcos/v1_6_exp: Add SElinuxModule --- config/fcos/v1_6_exp/schema.go | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/config/fcos/v1_6_exp/schema.go b/config/fcos/v1_6_exp/schema.go index 140cd31a..f318afa0 100644 --- a/config/fcos/v1_6_exp/schema.go +++ b/config/fcos/v1_6_exp/schema.go @@ -19,9 +19,10 @@ import ( ) type Config struct { - base.Config `yaml:",inline"` - BootDevice BootDevice `yaml:"boot_device"` - Grub Grub `yaml:"grub"` + base.Config `yaml:",inline"` + BootDevice BootDevice `yaml:"boot_device"` + Grub Grub `yaml:"grub"` + SelinuxModule SelinuxModule `yaml:"selinux_module"` } type BootDevice struct { @@ -49,3 +50,8 @@ type GrubUser struct { Name string `yaml:"name"` PasswordHash *string `yaml:"password_hash"` } + +type SelinuxModule struct { + Contents []base.Resource `yaml:"content"` + Path base.File `yaml:"path"` +}