[Gluster-users] Non-interactive GlusterFS commands

Jesper Led Lauridsen TS Infra server
2015-04-10T14:54:31Z

Thanks

This is undocumented. At least I can't find it in man-pages or in
'gluster help'. Is there a place I can find undocumented parameters -
> if there are any others?

Thanks again
Jesper

-----Oprindelig meddelelse-----
Fra: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at
gluster.org] P? vegne af Andreas Hollaus
Sendt: 10. april 2015 16:28
Til: Vijay Bellur; Ravishankar N
Cc: gluster-users at gluster.org
Emne: Re: [Gluster-users] Non-interactive GlusterFS commands

Thanks! Exactly what I wanted. :-)

Regards
Andreas

On 04/10/15 16:19, Vijay Bellur wrote:
> On 04/10/2015 05:24 PM, Andreas Hollaus wrote:
>> Hi,
>>
>> Is there any way to disable the interaction required when running
>> 'gluster volume stop <vol>' (for instance)?
>> I know about pipes, but I'd prefer to avoid them in this case.
>>
>
> You can use --mode=script in conjunction with any gluster command to
> make it non-interactive.
>
> Regards,
> Vijay
>

_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org