1
0
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:
Ivan Mikushin
2015-11-06 21:53:00 +05:00
parent 4d798edd1b
commit 56b1aa67ac
4 changed files with 61 additions and 5 deletions

View File

@@ -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() {