From f787e77e081c1cc85549a5d42c2814bca57e4a87 Mon Sep 17 00:00:00 2001 From: YASMIN VALIM Date: Mon, 28 Aug 2023 13:00:54 -0300 Subject: [PATCH] feat: add selinux type --- config/fcos/v1_6_exp/schema.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/fcos/v1_6_exp/schema.go b/config/fcos/v1_6_exp/schema.go index 140cd31a..1d9e3a24 100644 --- a/config/fcos/v1_6_exp/schema.go +++ b/config/fcos/v1_6_exp/schema.go @@ -22,6 +22,7 @@ type Config struct { base.Config `yaml:",inline"` BootDevice BootDevice `yaml:"boot_device"` Grub Grub `yaml:"grub"` + Selinux Selinux `yaml:"selinux"` } type BootDevice struct { @@ -49,3 +50,9 @@ type GrubUser struct { Name string `yaml:"name"` PasswordHash *string `yaml:"password_hash"` } + +type Selinux struct { + State *string `yaml:"state"` + Mode *string `yaml:"mode"` + Path *string `yaml:"path"` +}