From: Fabian Deutsch fabiand@fedoraproject.org
Because livemedia-creator is using a media based installation by default, no networking is brought up automatically. If then the url installation method is used, it fails with an unclear reason.
This patch adds a check to raise a clear error if the url installation method is used insisde the kickstart but no networking is configured.
Signed-off-by: Fabian Deutsch fabiand@fedoraproject.org --- src/sbin/livemedia-creator | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator index 74ea16a..50c7ada 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -1328,6 +1328,10 @@ def main(): errors.append("Only url and nfs install methods are currently supported. Please " "fix your kickstart file." )
+ if ks.handler.method.method == "url" and not ks.handler.network.seen: + errors.append("The kickstart must activate networking if " + "the url install method is used.") + if ks.handler.displaymode.displayMode is not None: errors.append("The kickstart must not set a display mode (text, cmdline, " "graphical), this will interfere with livemedia-creator.")
anaconda-patches@lists.fedorahosted.org