mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
Leave dhcpcd (and netconf) running in the background.
Add wait-for-network.
This commit is contained in:
2
main.go
2
main.go
@@ -16,6 +16,7 @@ import (
|
||||
"github.com/rancher/os/cmd/systemdocker"
|
||||
"github.com/rancher/os/cmd/userdocker"
|
||||
"github.com/rancher/os/cmd/wait"
|
||||
"github.com/rancher/os/cmd/waitfornetwork"
|
||||
"github.com/rancher/os/config"
|
||||
osInit "github.com/rancher/os/init"
|
||||
)
|
||||
@@ -53,6 +54,7 @@ func main() {
|
||||
registerCmd("/usr/sbin/ros", control.Main)
|
||||
registerCmd("/usr/bin/cloud-init", cloudinit.Main)
|
||||
registerCmd("/usr/sbin/netconf", network.Main)
|
||||
registerCmd("/usr/sbin/wait-for-network", waitfornetwork.Main)
|
||||
registerCmd("/usr/sbin/wait-for-docker", wait.Main)
|
||||
|
||||
if !reexec.Init() {
|
||||
|
Reference in New Issue
Block a user