summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-nova')
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova/nova.conf2
-rw-r--r--meta-openstack/recipes-devtools/python/python-nova/nova.init3
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
19verbose = True 19verbose = True
20my_ip = %CONTROLLER_IP% 20my_ip = %CONTROLLER_IP%
21glance_host = %CONTROLLER_IP% 21glance_host = %CONTROLLER_IP%
22lock_path=/var/lock/nova/
23state_path=/var/run/nova/
22 24
23#VNC 25#VNC
24vnc_enabled = true 26vnc_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