diff --git a/cloudinit/workspace.go b/cloudinit/workspace.go index 29e8df0..9659765 100644 --- a/cloudinit/workspace.go +++ b/cloudinit/workspace.go @@ -62,5 +62,5 @@ func PersistScriptInWorkspace(script Script, workspace string) (string, error) { func PersistScriptUnitNameInWorkspace(name string, workspace string) error { unitPath := path.Join(workspace, "scripts", "unit-name") - return ioutil.WriteFile(unitPath, []byte(name), 644) + return ioutil.WriteFile(unitPath, []byte(name), 0644) }