Skip to content

Commit

Permalink
Merge pull request #1612 from GabrielNagy/BKR-1621/osx-catalina-support
Browse files Browse the repository at this point in the history
(BKR-1621) Add support for macOS Catalina
  • Loading branch information
genebean authored Jan 30, 2020
2 parents a42cc31 + 101495f commit cd0c345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/beaker/host/mac/exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def ssh_service_restart
# (from {#ssh_service_restart})
def ssh_permit_user_environment
ssh_config_file = '/etc/sshd_config'
ssh_config_file = '/private/etc/ssh/sshd_config' if self['platform'] =~ /osx-10\.*(11|12|13|14)/
ssh_config_file = '/private/etc/ssh/sshd_config' if self['platform'] =~ /^osx-/

exec(Beaker::Command.new("echo '\nPermitUserEnvironment yes' >> #{ssh_config_file}"))
ssh_service_restart()
Expand Down

0 comments on commit cd0c345

Please sign in to comment.