merged

Bruce

On Thu, May 31, 2018 at 6:31 AM, Jagadeesh Krishnanjanappa <
[email protected]> wrote:

> Specifying force option (-f) to tgt-admin, makes sure iscsi
> backing devices mentioned under /etc/tgt/*.conf are listed, loaded and
> activated when /etc/init.d/tgtd is restarted.
>
> Signed-off-by: Jagadeesh Krishnanjanappa <[email protected]>
> ---
>  meta-openstack/recipes-support/tgt/files/tgtd.init | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-openstack/recipes-support/tgt/files/tgtd.init
> b/meta-openstack/recipes-support/tgt/files/tgtd.init
> index 52d98c3..350fd0c 100644
> --- a/meta-openstack/recipes-support/tgt/files/tgtd.init
> +++ b/meta-openstack/recipes-support/tgt/files/tgtd.init
> @@ -39,7 +39,7 @@ start ()
>      # if it's not ready.
>      tgtadm --op update --mode sys --name State -v offline
>      # Configure the targets.
> -    tgt-admin -e -c $TGTD_CONFIG
> +    tgt-admin -f -e -c $TGTD_CONFIG
>      # Put tgtd into "ready" state.
>      tgtadm --op update --mode sys --name State -v ready
>
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> [email protected]
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to