Skip to content

Commit

Permalink
Merge pull request #1166 from sdodson/remove-core-bashhistory
Browse files Browse the repository at this point in the history
asset/bootstrap: Remove ~core/.bash_history
  • Loading branch information
openshift-merge-robot authored Feb 1, 2019
2 parents 11efd8e + b4897c0 commit 7412627
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion data/data/bootstrap/files/home/core/.bash_history

This file was deleted.

4 changes: 0 additions & 4 deletions pkg/asset/ignition/bootstrap/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,6 @@ func (a *Bootstrap) addStorageFiles(base string, uri string, templateData *boots
mode = 0600
}
ign := ignition.FileFromBytes(strings.TrimSuffix(base, ".template"), "root", mode, data)
if filename == ".bash_history" {
ign.User = &igntypes.NodeUser{Name: ignitionUser}
ign.Group = &igntypes.NodeGroup{Name: ignitionUser}
}
ign.Append = appendToFile
a.Config.Storage.Files = append(a.Config.Storage.Files, ign)

Expand Down

0 comments on commit 7412627

Please sign in to comment.