mirror of
https://github.com/rancher/os.git
synced 2025-09-04 16:21:07 +00:00
Fix format 'verbs' (#2115)
This commit is contained in:
committed by
niusmallnan
parent
a08ad16a01
commit
82aaa413f5
@@ -1,17 +1,18 @@
|
||||
package sysinit
|
||||
|
||||
import (
|
||||
initPkg "github.com/rancher/os/init"
|
||||
"github.com/rancher/os/log"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
|
||||
initPkg "github.com/rancher/os/init"
|
||||
"github.com/rancher/os/log"
|
||||
)
|
||||
|
||||
func Main() {
|
||||
log.InitLogger()
|
||||
|
||||
resolve, err := ioutil.ReadFile("/etc/resolv.conf")
|
||||
log.Infof("2Resolv.conf == [%s], %s", resolve, err)
|
||||
log.Infof("Resolv.conf == [%s], %v", resolve, err)
|
||||
log.Infof("Exec %v", os.Args)
|
||||
|
||||
if err := initPkg.SysInit(); err != nil {
|
||||
|
Reference in New Issue
Block a user