Skip to content

Commit

Permalink
Add support for parallels & virtuozzo linux
Browse files Browse the repository at this point in the history
Both parallels and virtuozzo linux are redhat derivatives
and their suite of operating systems (virtuozzo linux,
parallels cloud server etc) aren't detected correctly
at the moment. Adding their OS to the REDHAT_FAMILY
contstant seems to get that fixed up
  • Loading branch information
Lee Briggs committed Dec 6, 2016
1 parent dc18577 commit 3ff8f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/train/extras/os_detect_linux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
module Train::Extras
module DetectLinux # rubocop:disable Metrics/ModuleLength
DEBIAN_FAMILY = %w{debian ubuntu linuxmint raspbian}.freeze
REDHAT_FAMILY = %w{centos redhat oracle scientific enterpriseenterprise xenserver cloudlinux ibm_powerkvm nexus_centos wrlinux}.freeze
REDHAT_FAMILY = %w{centos redhat oracle scientific enterpriseenterprise xenserver cloudlinux ibm_powerkvm nexus_centos wrlinux virtuozzo parallels}.freeze
SUSE_FAMILY = %w{suse opensuse}.freeze

include Train::Extras::LinuxLSB
Expand Down

0 comments on commit 3ff8f01

Please sign in to comment.