From b5d991fb8817d3e0aaa10cb082c620cc6609238b Mon Sep 17 00:00:00 2001 From: Bo Yao Date: Tue, 8 Aug 2017 11:15:49 -0400 Subject: [PATCH] fix restart network error when set host name in pure ipv6 network https://bugzilla.redhat.com/show_bug.cgi?id=1475804 --- lib/gems/pending/appliance_console.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gems/pending/appliance_console.rb b/lib/gems/pending/appliance_console.rb index 3aebc164f..ff72aff07 100755 --- a/lib/gems/pending/appliance_console.rb +++ b/lib/gems/pending/appliance_console.rb @@ -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