mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
Fix cloudinit compilation
This commit is contained in:
3
main.go
3
main.go
@@ -6,6 +6,7 @@ import (
|
||||
|
||||
log "github.com/Sirupsen/logrus"
|
||||
"github.com/docker/docker/pkg/reexec"
|
||||
"github.com/rancherio/os/cmd/cloudinit"
|
||||
"github.com/rancherio/os/cmd/control"
|
||||
"github.com/rancherio/os/cmd/power"
|
||||
"github.com/rancherio/os/cmd/respawn"
|
||||
@@ -43,7 +44,7 @@ func main() {
|
||||
registerCmd("/usr/bin/respawn", respawn.Main)
|
||||
registerCmd("/usr/sbin/rancherctl", control.Main)
|
||||
registerCmd("/usr/bin/tlsconf", tlsconf.Main)
|
||||
registerCmd("/usr/bin/cloudinit", control.CloudInit)
|
||||
registerCmd("/usr/bin/cloudinit", cloudinit.Main)
|
||||
|
||||
if !reexec.Init() {
|
||||
log.Fatalf("Failed to find an entry point for %s", os.Args[0])
|
||||
|
Reference in New Issue
Block a user