FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 03-24-2009, 01:43 PM
Matt Rose
 
Default network step always skipped in kickstart.py

I've built a rudimentary patch
that works around the problem for my purposes, see below, but while
that works with expected behaviour (leave out the network line, it
should ask you to configure a network interface) that seems a little
hacky, as it breaks down as soon as you have more than one interface...



The anaconda docs on the fedora wiki say "--bootproto=query" is the way
to get kickstart to pop up the network configuration dialog.* (this
does not work)



anaconda.spec mentions --bootproto=ask in anaconda 11.4, but it was
pulled out shortly after, and obviously doesn't work.



Is this design intent, or something over-looked, or...



Matt



diff --git a/kickstart.py b/kickstart.py

index 82ae00b..3772672 100644

--- a/kickstart.py

+++ b/kickstart.py

@@ -1216,7 +1216,8 @@ def setSteps(anaconda):

**** dispatch.skipStep("betanag")

**** dispatch.skipStep("regkey")

**** dispatch.skipStep("installtype")

-*** dispatch.skipStep("network")

+*** if self.ksdata.network:

+****** dispatch.skipStep("network")

*

**** # Don't show confirmation screens on non-interactive installs.

**** if not interactive:






_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 10:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org