Skip to content

Commit

Permalink
fcos/v1_6_exp:Add SElinux type
Browse files Browse the repository at this point in the history
Adds a SElinux type to schema.go with state and mode fields.
  • Loading branch information
yasminvalim committed Aug 31, 2023
1 parent 0a1b18e commit 45af03c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/fcos/v1_6_exp/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -49,3 +50,8 @@ type GrubUser struct {
Name string `yaml:"name"`
PasswordHash *string `yaml:"password_hash"`
}

type Selinux struct {
State *bool `yaml:"state"`
Mode *bool `yaml:"mode"`
}

0 comments on commit 45af03c

Please sign in to comment.