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.
This commit is contained in:
parent
b4d25e30f0
commit
b7be1d97fe
@ -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." )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user