Add RedHat 7.2 to prereq check
@@ -45,7 +45,8 @@ class PrereqState(OSEncryptionState):
distro_info = self.context.distro_patcher.distro_info
self.context.logger.log("Distro info: {0}".format(distro_info))
- if ((distro_info[0] == 'centos' and distro_info[1] == '7.3.1611') and
+ if (((distro_info[0] == 'centos' and distro_info[1] == '7.3.1611') or
+ (distro_info[0] == 'redhat' and distro_info[1] == '7.2')) and
self.disk_util.is_os_disk_lvm()):
self.context.logger.log("Enabling OS volume encryption on {0} {1}".format(distro_info[0],
distro_info[1]))
