diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-nova/nova.conf | 2 | ||||
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-nova/nova.init | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova.conf b/meta-openstack/recipes-devtools/python/python-nova/nova.conf index a495a7d..84ef48b 100644 --- a/meta-openstack/recipes-devtools/python/python-nova/nova.conf +++ b/meta-openstack/recipes-devtools/python/python-nova/nova.conf | |||
| @@ -19,6 +19,8 @@ debug = True | |||
| 19 | verbose = True | 19 | verbose = True |
| 20 | my_ip = %CONTROLLER_IP% | 20 | my_ip = %CONTROLLER_IP% |
| 21 | glance_host = %CONTROLLER_IP% | 21 | glance_host = %CONTROLLER_IP% |
| 22 | lock_path=/var/lock/nova/ | ||
| 23 | state_path=/var/run/nova/ | ||
| 22 | 24 | ||
| 23 | #VNC | 25 | #VNC |
| 24 | vnc_enabled = true | 26 | vnc_enabled = true |
diff --git a/meta-openstack/recipes-devtools/python/python-nova/nova.init b/meta-openstack/recipes-devtools/python/python-nova/nova.init index 3a2bbac..c2882b6 100644 --- a/meta-openstack/recipes-devtools/python/python-nova/nova.init +++ b/meta-openstack/recipes-devtools/python/python-nova/nova.init | |||
| @@ -30,7 +30,8 @@ start () | |||
| 30 | 30 | ||
| 31 | echo -n "Starting $DESC..." | 31 | echo -n "Starting $DESC..." |
| 32 | 32 | ||
| 33 | start-stop-daemon --start --quiet --background \ | 33 | sudo -u nova \ |
| 34 | start-stop-daemon --start --quiet --background \ | ||
| 34 | --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} | 35 | --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} |
| 35 | 36 | ||
| 36 | if [ $? -eq 0 ]; then | 37 | if [ $? -eq 0 ]; then |
