fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] How set shell to none


From: Jeff Forcier
Subject: Re: [Fab-user] How set shell to none
Date: Tue, 9 Apr 2013 18:55:32 -0700

Try setting env.use_shell = False:

    http://docs.fabfile.org/en/1.6/usage/env.html#use-shell

On Tue, Apr 9, 2013 at 6:40 PM, Zhigang Wang <address@hidden> wrote:
> Hi Jeff and all,
>
> I want to use fabric for ilom, a ssh configuration interface. Currently it
> doesn't work because the ilom system doesn't have a shell there. How can set
> env.shell to none? Or is it supported?
>
> The ilom shell:
>
> $ ssh address@hidden
> Warning: Permanently added 'ca-dev33m,10.211.2.238' (RSA) to the list of
> known hosts.
> Password:
>
> Oracle(R) Integrated Lights Out Manager
>
> Version 3.1.2.10 r74387
>
> Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
>
> Warning: password is set to factory default.
>
> -> help
> The help command is used to view information about commands and targets
>
> Usage: help [-format wrap|nowrap] [-o|-output terse|verbose]
> [<command>|legal|targets|<target>|<target> <property>]
>
> Special characters used in the help command are
> []   encloses optional keywords or options
> <>   encloses a description of the keyword
>      (If <> is not present, an actual keyword is indicated)
> |    indicates a choice of keywords or options
>
> help <target>              displays description if this target and its
> properties
> help <target> <property>   displays description of this property of this
> target
> help targets               displays a list of targets
> help legal                 displays the product legal notice
>
> Commands are:
> cd
> create
> delete
> dump
> exit
> help
> load
> reset
> set
> show
> start
> stop
> version
>
> -> sh
> Invalid command 'sh' - type help for a list of commands.
>
> -> bash
> Invalid command 'bash' - type help for a list of commands.
>
> Thanks,
>
> Zhigang



-- 
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]