lib/kytoon/providers/libvirt/server_group.rb in kytoon-1.3.4 vs lib/kytoon/providers/libvirt/server_group.rb in kytoon-1.3.5

- old
+ new

@@ -209,10 +209,10 @@ if [ -f /etc/sysconfig/network ]; then sed -e "s|^HOSTNAME.*|HOSTNAME=#{server['hostname']}|" -i /etc/sysconfig/network fi #{server['gateway'] == 'true' ? gateway_ssh_config : ""} #{node_ssh_config} - }, server['ip_address']) do |ok, out| + }, server['ip_address'], retry_attempts=3) do |ok, out| if not ok puts out raise KytoonException, "Failed to copy host file to instance #{server['hostname']}." end end