[lorax] livemedia-creator: Allow the boot.iso to be shared

Samantha N. Bueno sbueno+anaconda at redhat.com
Wed Jul 9 18:18:17 UTC 2014


Ack.

On Wed, Jul 09, 2014 at 10:07:19AM -0700, Brian C. Lane wrote:
> This allows the boot.iso to be used by multiple instances of lmc (or
> virt-install if they also set --disk shareable=on)
> ---
>  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 f055273..be34061 100755
> --- a/src/sbin/livemedia-creator
> +++ b/src/sbin/livemedia-creator
> @@ -339,7 +339,7 @@ class VirtualInstall(object):
>          args.append(disk_opts)
>  
>          if iso.liveos:
> -            disk_opts = "path={0},device=cdrom".format(iso.iso_path)
> +            disk_opts = "path={0},device=cdrom,readonly=on,shareable=on".format(iso.iso_path)
>              args.append("--disk")
>              args.append(disk_opts)
>  
> -- 
> 1.9.3
> 
> _______________________________________________
> 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