Re: [rhinstaller/anaconda/pulls/412 rhel7-branch] network: Don't set --device link default for hostname only network cm…
rvykydal
installerbot-noreply at redhat.com
Mon Oct 19 09:04:30 UTC 2015
> @@ -1070,6 +1070,19 @@ def execute(self, *args):
> logger.updateRemote(remote_server)
>
> class Network(commands.network.RHEL7_Network):
> + def parse(self, args):
> + nd = commands.network.RHEL7_Network.parse(self, args)
> + setting_only_hostname = nd.hostname and len(args) <= 2
Args are either
["--hostname=blah']
or
["--hostname", "blah"] for
network --hostname blah
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/412#discussion_r42349466
More information about the anaconda-patches
mailing list