Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
fix: disable gpg repo check for update and init
Browse files Browse the repository at this point in the history
  • Loading branch information
eliobischof committed Jun 28, 2022
1 parent 1e9a10a commit c1adaf6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/operator/nodeagent/dep/package-manager-init.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ func (p *PackageManager) remSpecificDisableGPGRepoCheckForGcloudRepo() error {

func (p *PackageManager) remSpecificUpdatePackages() error {

if err := p.remSpecificDisableGPGRepoCheckForGcloudRepo(); err != nil {
return err
}

conflictingCronFile := "/etc/cron.daily/yumupdate.sh"
removeConflictingCronFile := true
_, err := os.Stat(conflictingCronFile)
Expand Down

0 comments on commit c1adaf6

Please # to comment.