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:
@@ -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,
|
||||
}
|
||||
|
Reference in New Issue
Block a user