837fbb1b54
In some cases these commands create log files, running them as the service user prevents them being owned by root. Change-Id: I5d5dc4b58f7fca494ac2617f15da9f90b5fa11c9
7 lines
96 B
Bash
Executable File
7 lines
96 B
Bash
Executable File
#!/bin/bash
|
|
set -eux
|
|
|
|
if os-is-bootstrap-host ; then
|
|
sudo -u nova -- nova-manage db sync
|
|
fi
|