[rhel7/master] livemedia-creator: pass inst.cmdline for headless installs (#985487)

Samantha N. Bueno sbueno+anaconda at redhat.com
Fri Jul 26 01:26:58 UTC 2013


Ack.

On Thu, Jul 25, 2013 at 03:35:59PM -0700, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
> 
> Also add console=ttyS0 so you can run virsh console XX to follow the
> install/look for errors.
> ---
>  src/sbin/livemedia-creator | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator
> index da0ac8f..e4f2423 100755
> --- a/src/sbin/livemedia-creator
> +++ b/src/sbin/livemedia-creator
> @@ -281,6 +281,8 @@ class VirtualInstall( object ):
>              args.append(disk_opts)
>  
>          extra_args = "ks=file:/{0}".format(os.path.basename(ks_paths[0]))
> +        if not vnc:
> +            extra_args += " inst.cmdline console=ttyS0"
>          if kernel_args:
>              extra_args += " "+kernel_args
>          if iso.liveos:
> -- 
> 1.8.3.1
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches


More information about the anaconda-patches mailing list