[Users] Disable MOTD on shell login

Christian Hernandez christianh at 4over.com
Tue Sep 10 11:18:07 EDT 2013


If I may interject....

Disabling the MOTD makes it easier to script...let's say if I want to get a
list of VMs' snapshots and out them in a for loop...I would have to write
the output of the rhevm-shell to a file; parse that file (oh BTW there are
^[[H and ^[[2 in that file...just to make things more interesteing); then
run it through my loop - and then pass that into rhevm-shell...repeating
the process. Also it doesn't help that rhevm-shell does a "clear" of the
screen when it runs (can I turn that off too?)

I would have to do that for every command.

I don't mind having an MOTD...just wished there was an option to turn it off


In short: It makes it easier to script and automate tasks.


Thank you,

Christian Hernandez
1225 Los Angeles Street
Glendale, CA 91204
Phone: 877-782-2737 ext. 4566
Fax: 818-265-3152
christianh at 4over.com <mailto:christianh at 4over.com>
www.4over.com <http://www.4over.com>


On Tue, Sep 10, 2013 at 8:04 AM, Michael Pasternak <mpastern at redhat.com>wrote:

>
> Hi Anand,
>
> On 09/10/2013 09:33 AM, Anand Nande wrote:
> > Hi,
> >
> > Is it possible $subject?
> > If so - please share how.
>
> currently there is no "user-friendly" way to disable it,
> can you elaborate please why do you need that?
>
> >
> > I tried to find the file which rhevm-shell would open using:
> >
> > # rhevm-shell -c -d    ...(no luck)
> > # lsof | egrep -i 'rhev|shell'   ...(no luck)
> >
> > Regards
> > --Anand
> >
>
>
> --
>
> Michael Pasternak
> RedHat, ENG-Virtualization R&D
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130910/a638d09c/attachment.html>


More information about the Users mailing list