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

setup groups and socket files on startup

This commit is contained in:
Darren Shepherd
2015-04-04 10:17:10 -07:00
parent 3282192d97
commit 1de6e898a7
2 changed files with 4 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ package init
import (
"fmt"
"io/ioutil"
"net"
"os"
"os/exec"
"strings"
@@ -346,6 +347,7 @@ func RunInit() error {
func(cfg *config.Config) error {
return createSymlinks(cfg, symlinks)
},
createGroups,
extractModules,
loadModules,
setResolvConf,
@@ -362,6 +364,7 @@ func RunInit() error {
func(cfg *config.Config) error {
return createMounts(postMounts...)
},
touchSocket,
remountRo,
sysInit,
}