[PATCH - lorax] Allow doing non-URL installs if using virt.
Vratislav Podzimek
vpodzime at redhat.com
Fri Jul 4 06:36:28 UTC 2014
On Thu, 2014-07-03 at 16:43 -0400, Chris Lumens wrote:
> 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 88ca723..f055273 100755
> --- a/src/sbin/livemedia-creator
> +++ b/src/sbin/livemedia-creator
> @@ -1102,7 +1102,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." )
>
ACK.
--
Vratislav Podzimek
Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list