1
0
mirror of https://github.com/rancher/os.git synced 2025-09-08 18:20:32 +00:00

gofmt change

This commit is contained in:
Darren Shepherd
2015-02-19 13:47:06 -07:00
parent 7e8acab1fd
commit ace2fa1f65
3 changed files with 12 additions and 14 deletions

View File

@@ -67,8 +67,8 @@ var (
sshKeyName string
oem string
validate bool
preInit bool
outDir string
preInit bool
outDir string
}{}
)
@@ -239,12 +239,12 @@ func CloudInit() {
}
outFile := outDir + "cloud-config"
if err := ioutil.WriteFile(outFile, fileData, 444); err != nil {
fmt.Println("Error while writing file ", err.Error())
os.Exit(1)
}
os.Exit(0)
}
@@ -403,4 +403,3 @@ func runScript(script config.Script, env *initialize.Environment) error {
}
return err
}