1
0
mirror of https://github.com/rancher/os.git synced 2025-09-03 07:44:21 +00:00

cloud-config write_files should write to absolute path

This commit is contained in:
Ivan Mikushin
2015-04-09 20:01:09 +05:00
parent 402cbbdf6f
commit 8e9368b6a3

View File

@@ -195,7 +195,7 @@ func Main() {
for _, file := range cc.WriteFiles {
f := system.File{File: file}
fullPath, err := system.WriteFile(&f, outputDir)
fullPath, err := system.WriteFile(&f, "/")
if err != nil {
log.Fatalf("%v", err)
}