From b7be1d97fec01abb105b4ed529b7fc5a6af91394 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Thu, 3 Jul 2014 16:41:28 -0400 Subject: [PATCH] Allow doing non-URL installs if using virt. In this case, we don't need to pass a repo parameter to anaconda. It's running in a VM and knows how to deal with a kickstart file. --- src/sbin/livemedia-creator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator index e5f4f77a..216d5fe0 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -1093,7 +1093,7 @@ def main(): # Make the disk or filesystem image if not opts.disk_image and not opts.fs_image: errors = [] - if ks.handler.method.method != "url": + if ks.handler.method.method != "url" and opts.no_virt: errors.append("Only url install method is currently supported. Please " "fix your kickstart file." )