You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hacked together something quick, it works for my simple case. It seems that the :data in out[:data] is no longer a thing. I could not track down why this may be the case.
out = @connection.node_execute(
'(ipconfig) -match \'IPv[46] Address\''
)
out_list = out.stdout.split("\n")
data = []
out_list.each do |line|
puts 'LINE: '
puts line
data << Regexp.last_match[1] if line.chomp =~ /:\s*(\S+)/
end
data
Has anyone seen this error before?
Running the command shown here https://github.com/mwrock/kitchen-nodes/blob/master/lib/kitchen/provisioner/finder/winrm.rb#L26 manually on the virtualbox windows instance returns what I would expect it to.
The text was updated successfully, but these errors were encountered: