On Mon, Nov 23, 2015 at 12:17:13PM +0800, Wilence Yao wrote:
> Hi all,
> 
> In devstack stable/liberty, error is :
> 
> source openrc admin admin
> openrc:90: unknown condition: -v
> 
> the line 90 and code block in openrc is
> ```
> # Set OS_CACERT to a default CA certificate chain if it exists.
> if [[ ! -v OS_CACERT ]] ; then
>     DEFAULT_OS_CACERT=$INT_CA_DIR/ca-chain.pem
>     # If the file does not exist, this may confuse preflight sanity checks
>     if [ -e $DEFAULT_OS_CACERT ] ; then
>         export OS_CACERT=$DEFAULT_OS_CACERT
>     fi
> fi
> ```
> So how to source devstack/openrc ? What command it is ?

You shell needs to be bash 4 (IIRC bash 3 won't do)
then:
     . openrc admin admin

Yours Tony.

Attachment: pgpXs2_0bKhgk.pgp
Description: PGP signature

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to