Skip to content

Commit

Permalink
Merge pull request ManageIQ#256 from ailisp/ipv6-set-hostname
Browse files Browse the repository at this point in the history
Fix restart network error when set host name in pure ipv6 network
  • Loading branch information
carbonin authored Aug 17, 2017
2 parents 7bea4f3 + b5d991f commit cbc714f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gems/pending/appliance_console.rb
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ module ApplianceConsole
system_hosts.hostname = new_host
system_hosts.set_loopback_hostname(new_host)
system_hosts.save
LinuxAdmin::Service.new("network").restart

press_any_key
end
end
Expand Down

0 comments on commit cbc714f

Please sign in to comment.