1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

tls key generation

This commit is contained in:
sidharthamani
2015-02-17 15:27:13 -08:00
parent c3476d7b00
commit 707894d594
3 changed files with 102 additions and 7 deletions

View File

@@ -12,6 +12,7 @@ import (
"github.com/rancherio/os/power"
"github.com/rancherio/os/respawn"
"github.com/rancherio/os/sysinit"
"github.com/rancherio/os/util"
)
func registerCmd(cmd string, mainFunc func()) {
@@ -41,7 +42,8 @@ func main() {
registerCmd("/sbin/halt", power.Halt)
registerCmd("/usr/bin/respawn", respawn.Main)
registerCmd("/usr/sbin/rancherctl", control.Main)
registerCmd("/sbin/tlsconf", util.TLSConf)
if !reexec.Init() {
log.Fatalf("Failed to find an entry point for %s", os.Args[0])
}