[PATCH lorax rhel7-branch 1/7] Allow doing non-URL installs if using virt.

Radek Vykydal rvykydal at redhat.com
Fri Apr 10 13:01:20 UTC 2015


From: Chris Lumens <clumens at redhat.com>

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.

Related: rhbz#1184021
---
 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 42cf870..84c9f24 100755
--- a/src/sbin/livemedia-creator
+++ b/src/sbin/livemedia-creator
@@ -985,7 +985,7 @@ if __name__ == '__main__':
             sys.exit(1)
 
         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." )
 
-- 
1.9.3



More information about the anaconda-patches mailing list