1
0
mirror of https://github.com/rancher/os.git synced 2025-07-16 08:05:51 +00:00

Add udev as create only container in system-docker

This commit is contained in:
Darren Shepherd 2015-03-19 16:20:31 -07:00
parent a051b1ad70
commit 9ed1f075bb

View File

@ -71,6 +71,17 @@ func NewConfig() *Config {
},
},
SystemContainers: []ContainerConfig{
{
Id: "udev",
Cmd: "--name=udev " +
"--net=none " +
"--privileged " +
"--rm " +
"-v=/dev:/host/dev " +
"-v=/lib/modules:/lib/modules:ro " +
"udev",
CreateOnly: true,
},
{
Id: "system-volumes",
Cmd: "--name=system-volumes " +