fix(scan): exec yum makecache to update metadata on RedHat based linux (#810)

* fix(scan): exec `yum makecache` to update metadata on RedHat based linux

* sudo
This commit is contained in:
Kota Kanbe
2019-06-12 14:44:42 +09:00
committed by GitHub
parent fcc2c1e4c7
commit 87ee829e80
5 changed files with 32 additions and 2 deletions

View File

@@ -118,3 +118,7 @@ func (o rootPrivCentos) yumUpdateInfo() bool {
func (o rootPrivCentos) yumChangelog() bool {
return false
}
func (o rootPrivCentos) yumMakeCache() bool {
return false
}