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:
parent
e95d34d13c
commit
14c3324cac
@ -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." )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user