Skip to content

Commit 6fc2da9

Browse files
committed
fcos/v1_6_exp: Add SElinuxModule
1 parent 0a1b18e commit 6fc2da9

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

config/fcos/v1_6_exp/schema.go

+9-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ import (
1919
)
2020

2121
type Config struct {
22-
base.Config `yaml:",inline"`
23-
BootDevice BootDevice `yaml:"boot_device"`
24-
Grub Grub `yaml:"grub"`
22+
base.Config `yaml:",inline"`
23+
BootDevice BootDevice `yaml:"boot_device"`
24+
Grub Grub `yaml:"grub"`
25+
SelinuxModule SelinuxModule `yaml:"selinux_module"`
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 SelinuxModule struct {
55+
Contents []base.Resource `yaml:"content"`
56+
Path base.File `yaml:"path"`
57+
}

0 commit comments

Comments
 (0)