diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-10-14 01:42:03 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-10-14 01:42:03 +0000 |
| commit | 5fe0e6768564b1ac132f4e77a8e22a76a08e60d9 (patch) | |
| tree | ec79c654d7356dfd0e82e4d428b70d5cbe44a5a5 /docker/nova/nova-api | |
| parent | 486b8b4884150a8ba09465a9a1b8951741feb30d (diff) | |
| parent | 5f200e044648efe64f297d186432839762f91395 (diff) | |
| download | kolla-5fe0e6768564b1ac132f4e77a8e22a76a08e60d9.tar.gz kolla-5fe0e6768564b1ac132f4e77a8e22a76a08e60d9.zip | |
Merge "Fix issue with su and bad kernels"
Diffstat (limited to 'docker/nova/nova-api')
| -rw-r--r-- | docker/nova/nova-api/extend_start.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/nova/nova-api/extend_start.sh b/docker/nova/nova-api/extend_start.sh index 2aaad1e8b..9b0e9d746 100644 --- a/docker/nova/nova-api/extend_start.sh +++ b/docker/nova/nova-api/extend_start.sh @@ -3,6 +3,6 @@ # Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases # of the KOLLA_BOOTSTRAP variable being set, including empty. if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then - su -s /bin/sh -c "nova-manage db sync" nova + sudo -H -u nova nova-manage db sync exit 0 fi |
