[Rdo-list] [openstack-packstack] Initial Kilo release

Kashyap Chamarthy kchamart at redhat.com
Thu Feb 26 13:07:04 UTC 2015


On Thu, Feb 26, 2015 at 03:56:19AM -0500, Kaul, Yaniv wrote:

[. . .]

> 2. The /home/public/scripts/devstack.sh script:
> 
> firewall-cmd --add-service http || true
> 
> git config --global url.http://git.openstack.org/.insteadOf git://git.openstack.org/
> cd /opt
> git clone https://git.openstack.org/openstack-dev/devstack
> /opt/devstack/tools/create-stack-user.sh
> chown -R stack:stack /opt/devstack/
> mv /opt/devstack /opt/stack

For the above, I normally use $HOME instead of /opt, which has DevStack
& git repos. The below snippet in local.conf will take care of it:

    . . .
    DEST=$HOME/src/cloud
    DATA_DIR=$DEST/data
    SERVICE_DIR=$DEST/status
    SCREEN_LOGDIR=$DATA_DIR/logs/
    LOGFILE=/$DATA_DIR/logs/devstacklog.txt
    . . .

NOTE: The above assumes you've already done this: $ chmod go+rx $HOME

-- 
/kashyap




More information about the dev mailing list