Skip to content

Commit

Permalink
Merge pull request #3135 from rgolangh/bug1804228
Browse files Browse the repository at this point in the history
Bug 1804228: ovirt-config.yaml not getting generated by openshift-install
  • Loading branch information
openshift-merge-robot committed Feb 21, 2020
2 parents e440bba + 02fda73 commit c64edd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/asset/installconfig/ovirt/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,9 @@ func (c *Config) Save() error {
}

path := discoverPath()
err = os.MkdirAll(filepath.Dir(path), os.FileMode(700))
if err != nil {
return err
}
return ioutil.WriteFile(path, out, os.FileMode(0600))
}

0 comments on commit c64edd0

Please sign in to comment.