Skip to content

Commit aa18ee8

Browse files
authored
Merge pull request #314 from vardhaman22/fix-rhel-prov
[RKE] [RHEL]: install openssl and openssh with curl
2 parents 442150f + 1d69cf0 commit aa18ee8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

libmachine/provision/redhat.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ func init() {
4343
func NewRedHatProvisioner(osReleaseID string, d drivers.Driver) *RedHatProvisioner {
4444
systemdProvisioner := NewSystemdProvisioner(osReleaseID, d)
4545
systemdProvisioner.SSHCommander = RedHatSSHCommander{Driver: d}
46+
// need to install "openssh" and "openssl" together with "curl" since curl installation was causing "openssl"
47+
// to auto-upgrade and because of that "openssh" version was out of sync with "openssl" which was causing ssh failure
48+
systemdProvisioner.Packages = []string{"curl openssh openssl"}
4649
return &RedHatProvisioner{
4750
systemdProvisioner,
4851
}

0 commit comments

Comments
 (0)