lib/beaker-pe/install/pe_utils.rb in beaker-pe-1.3.0 vs lib/beaker-pe/install/pe_utils.rb in beaker-pe-1.4.0

- old
+ new

@@ -897,10 +897,14 @@ prepare_host_installer_options(host) on host, higgs_installer_cmd(host), opts #wait for output to host['higgs_file'] #we're all done when we find this line in the PE installation log - higgs_re = /Please\s+go\s+to\s+https:\/\/.*\s+in\s+your\s+browser\s+to\s+continue\s+installation/m + if version_is_less(options[:pe_ver] || host['pe_ver'], '2016.3') + higgs_re = /Please\s+go\s+to\s+https:\/\/.*\s+in\s+your\s+browser\s+to\s+continue\s+installation/m + else + higgs_re = /o\s+to\s+https:\/\/.*\s+in\s+your\s+browser\s+to\s+continue\s+installation/m + end res = Result.new(host, 'tmp cmd') tries = 10 attempts = 0 prev_sleep = 0 cur_sleep = 1