1
0
mirror of https://github.com/rancher/os.git synced 2025-09-16 06:59:12 +00:00

add network config command

This commit is contained in:
sidharthamani
2015-03-02 15:03:21 -08:00
parent 66a4cd44c1
commit 4a94d51037
4 changed files with 125 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ import (
"github.com/rancherio/os/cmd/respawn"
"github.com/rancherio/os/cmd/sysinit"
"github.com/rancherio/os/cmd/systemdocker"
"github.com/rancherio/os/cmd/network"
osInit "github.com/rancherio/os/init"
)
@@ -44,6 +45,7 @@ func main() {
registerCmd("/usr/bin/respawn", respawn.Main)
registerCmd("/usr/sbin/rancherctl", control.Main)
registerCmd("/usr/bin/cloud-init", cloudinit.Main)
registerCmd("/usr/sbin/netconf", network.Main)
if !reexec.Init() {
log.Fatalf("Failed to find an entry point for %s", os.Args[0])