Skip to content

Commit aa321c2

Browse files
author
Kamil Izdebski
committed
Merge branch 'master' of github.com:d3llf/devstack
Conflicts: functions Resolved from os builder.
2 parents 33cfad5 + f50a336 commit aa321c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ function restart_service() {
631631
elif [[ "$os_PACKAGE" = "rpm" ]]; then
632632
sudo /sbin/service $1 restart
633633
elif [[ "$os_PACKAGE" = "ebuild" ]]; then
634-
sudo rc-service $1 restart
634+
sudo /sbin/rc-service $1 restart
635635
fi
636636
}
637637

lib/cinder

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ function init_cinder() {
170170
mkdir -p $CINDER_STATE_PATH/volumes
171171

172172
if sudo vgs $VOLUME_GROUP; then
173-
if [[ ${os_PACKAGE} = (rpm|ebuild) ]]; then
173+
if [[ ${os_PACKAGE} =~ (rpm|ebuild) ]]; then
174174
# RPM nor Gentoo doesn't start the service
175175
start_service tgtd
176176
fi

0 commit comments

Comments
 (0)