If we go in a backward direction through the noninteractive step network in text mode we want it to pass through to the previous step.
-- Vratislav Podzimek
--- textw/network_text.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/textw/network_text.py b/textw/network_text.py index f5f8eac..5f5c2ed 100644 --- a/textw/network_text.py +++ b/textw/network_text.py @@ -22,10 +22,13 @@ # David Cantrell dcantrell@redhat.com # from constants_text import * +from constants import * import network
class HostnameWindow: def __call__(self, screen, anaconda): + if anaconda.dispatch.dir == DISPATCH_BACK: + return INSTALL_BACK hname = network.getDefaultHostname(anaconda) anaconda.id.network.hostname = hname return INSTALL_OK
On Tue, Nov 29, 2011 at 05:20:42PM +0100, Vratislav Podzimek wrote:
textw/network_text.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/textw/network_text.py b/textw/network_text.py index f5f8eac..5f5c2ed 100644 --- a/textw/network_text.py +++ b/textw/network_text.py @@ -22,10 +22,13 @@ # David Cantrell dcantrell@redhat.com # from constants_text import * +from constants import * import network
class HostnameWindow: def __call__(self, screen, anaconda):
if anaconda.dispatch.dir == DISPATCH_BACK:
return INSTALL_BACK hname = network.getDefaultHostname(anaconda) anaconda.id.network.hostname = hname return INSTALL_OK
-- 1.7.4.4
Ack
Just resending this email now when we are in the development phase for RHEL 6.3. The bug has all necessary flags set to '+', so I'm going to push this patch.
On Tue, 2011-11-29 at 14:53 -0800, Brian C. Lane wrote:
On Tue, Nov 29, 2011 at 05:20:42PM +0100, Vratislav Podzimek wrote:
textw/network_text.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/textw/network_text.py b/textw/network_text.py index f5f8eac..5f5c2ed 100644 --- a/textw/network_text.py +++ b/textw/network_text.py @@ -22,10 +22,13 @@ # David Cantrell dcantrell@redhat.com # from constants_text import * +from constants import * import network
class HostnameWindow: def __call__(self, screen, anaconda):
if anaconda.dispatch.dir == DISPATCH_BACK:
return INSTALL_BACK hname = network.getDefaultHostname(anaconda) anaconda.id.network.hostname = hname return INSTALL_OK
-- 1.7.4.4
Ack _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
anaconda-devel@lists.fedoraproject.org