Skip to content

Commit

Permalink
rhel: install openssl and openssh with curl
Browse files Browse the repository at this point in the history
needed to keep openssh and openssl versions in sync
  • Loading branch information
vardhaman22 committed Nov 26, 2024
1 parent 90e7317 commit 1d69cf0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libmachine/provision/redhat.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ func init() {
func NewRedHatProvisioner(osReleaseID string, d drivers.Driver) *RedHatProvisioner {
systemdProvisioner := NewSystemdProvisioner(osReleaseID, d)
systemdProvisioner.SSHCommander = RedHatSSHCommander{Driver: d}
// need to install "openssh" and "openssl" together with "curl" since curl installation was causing "openssl"
// to auto-upgrade and because of that "openssh" version was out of sync with "openssl" which was causing ssh failure
systemdProvisioner.Packages = []string{"curl openssh openssl"}
return &RedHatProvisioner{
systemdProvisioner,
}
Expand Down

0 comments on commit 1d69cf0

Please sign in to comment.