1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Merge pull request #705 from ibuildthecloud/mdadm

Add mdadm scan flag and state script
This commit is contained in:
Darren Shepherd
2015-12-23 13:07:35 -07:00
2 changed files with 18 additions and 0 deletions

View File

@@ -113,6 +113,8 @@ type StateConfig struct {
Required bool `yaml:"required,omitempty"`
Autoformat []string `yaml:"autoformat,omitempty"`
FormatZero bool `yaml:"formatzero,omitempty"`
MdadmScan bool `yaml:"mdadm_scan,omitempty"`
Script string `yaml:"script,omitempty"`
OemFsType string `yaml:"oem_fstype,omitempty"`
OemDev string `yaml:"oem_dev,omitempty"`
}

View File

@@ -1,5 +1,21 @@
rancher:
bootstrap:
state-script:
image: rancher/os-statescript:v0.4.3-dev
labels:
io.rancher.os.detach: "false"
io.rancher.os.scope: system
io.rancher.os.after: udev-bootstrap
log_driver: json-file
net: host
uts: host
privileged: true
volumes:
- /dev:/host/dev
- /lib/modules:/lib/modules
- /lib/firmware:/lib/firmware
- /usr/bin/ros:/usr/bin/ros:ro
- /usr/share/ros:/usr/share/ros:ro
udev-bootstrap:
image: rancher/os-udev:v0.4.3-dev
environment: