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:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user