Skip to content

Commit 45af03c

Browse files
committed
fcos/v1_6_exp:Add SElinux type
Adds a SElinux type to schema.go with state and mode fields.
1 parent 0a1b18e commit 45af03c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/fcos/v1_6_exp/schema.go

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ type Config struct {
2222
base.Config `yaml:",inline"`
2323
BootDevice BootDevice `yaml:"boot_device"`
2424
Grub Grub `yaml:"grub"`
25+
Selinux Selinux `yaml:"selinux"`
2526
}
2627

2728
type BootDevice struct {
@@ -49,3 +50,8 @@ type GrubUser struct {
4950
Name string `yaml:"name"`
5051
PasswordHash *string `yaml:"password_hash"`
5152
}
53+
54+
type Selinux struct {
55+
State *bool `yaml:"state"`
56+
Mode *bool `yaml:"mode"`
57+
}

0 commit comments

Comments
 (0)