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.

Related: rhbz#1184021
This commit is contained in:
Chris Lumens 2014-07-03 16:41:28 -04:00 committed by Radek Vykydal
parent e95d34d13c
commit 14c3324cac
1 changed files with 1 additions and 1 deletions

View File

@ -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." )