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

make ros log to dmesg

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2016-11-23 20:49:35 +10:00
parent 2e03f1b706
commit 4df962d4b6
69 changed files with 691 additions and 169 deletions

View File

@@ -1,14 +1,15 @@
package systemdocker
import (
"log"
"os"
"github.com/docker/docker/docker"
"github.com/rancher/os/config"
"github.com/rancher/os/log"
)
func Main() {
log.InitLogger()
if os.Geteuid() != 0 {
log.Fatalf("%s: Need to be root", os.Args[0])
}