fix whitespace in the rest of lib/*
this brings this in line with bash8 checker Change-Id: Ib34a2292dd5bc259069457461041ec9cd4fd2957
This commit is contained in:
parent
3bdb922c40
commit
101b424842
3
lib/nova
3
lib/nova
@ -620,8 +620,7 @@ function start_nova_compute() {
|
|||||||
# Use 'sg' to execute nova-compute as a member of the **$LIBVIRT_GROUP** group.
|
# Use 'sg' to execute nova-compute as a member of the **$LIBVIRT_GROUP** group.
|
||||||
screen_it n-cpu "cd $NOVA_DIR && sg $LIBVIRT_GROUP '$NOVA_BIN_DIR/nova-compute --config-file $NOVA_CONF_BOTTOM'"
|
screen_it n-cpu "cd $NOVA_DIR && sg $LIBVIRT_GROUP '$NOVA_BIN_DIR/nova-compute --config-file $NOVA_CONF_BOTTOM'"
|
||||||
elif [[ "$VIRT_DRIVER" = 'fake' ]]; then
|
elif [[ "$VIRT_DRIVER" = 'fake' ]]; then
|
||||||
for i in `seq 1 $NUMBER_FAKE_NOVA_COMPUTE`
|
for i in `seq 1 $NUMBER_FAKE_NOVA_COMPUTE`; do
|
||||||
do
|
|
||||||
screen_it n-cpu "cd $NOVA_DIR && $NOVA_BIN_DIR/nova-compute --config-file $NOVA_CONF_BOTTOM"
|
screen_it n-cpu "cd $NOVA_DIR && $NOVA_BIN_DIR/nova-compute --config-file $NOVA_CONF_BOTTOM"
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
@ -45,7 +45,8 @@ create_trove_accounts() {
|
|||||||
SERVICE_ROLE=$(keystone role-list | awk "/ admin / { print \$2 }")
|
SERVICE_ROLE=$(keystone role-list | awk "/ admin / { print \$2 }")
|
||||||
|
|
||||||
if [[ "$ENABLED_SERVICES" =~ "trove" ]]; then
|
if [[ "$ENABLED_SERVICES" =~ "trove" ]]; then
|
||||||
TROVE_USER=$(keystone user-create --name=trove \
|
TROVE_USER=$(keystone user-create \
|
||||||
|
--name=trove \
|
||||||
--pass="$SERVICE_PASSWORD" \
|
--pass="$SERVICE_PASSWORD" \
|
||||||
--tenant_id $SERVICE_TENANT \
|
--tenant_id $SERVICE_TENANT \
|
||||||
--email=trove@example.com \
|
--email=trove@example.com \
|
||||||
|
Loading…
Reference in New Issue
Block a user