Re: [PATCH] install-script: Default to DISK injection method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx> writes:

> If script does not declare an injection method, assume DISK as every
> script must at least support one injection method and there is no need
> to require scripts to always explicitly declare supported injection
> methods.
> ---
>  osinfo/osinfo_install_script.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c
> index cc3eed2..66a49e4 100644
> --- a/osinfo/osinfo_install_script.c
> +++ b/osinfo/osinfo_install_script.c
> @@ -1323,7 +1323,7 @@ unsigned int osinfo_install_script_get_injection_methods(OsinfoInstallScript *sc
>      return osinfo_entity_get_param_value_int64_with_default
>          (OSINFO_ENTITY(script),
>           OSINFO_INSTALL_SCRIPT_PROP_INJECTION_METHOD,
> -         0);
> +         OSINFO_INSTALL_SCRIPT_INJECTION_METHOD_DISK);
>  }
>  
>  /**

nice idea.  ACK.

Regards,
Giuseppe

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux