diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-12-05 14:21:54 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-12-05 14:21:54 -0500 |
| commit | 09ed6f8a6d36840c0a8d0bb19560cbfda445d6a4 (patch) | |
| tree | 45bfcf339672945f098d049d6af361fea2de1020 /meta-openstack/recipes-devtools/python/python-nova | |
| parent | 6e48f94ec0a482db6cd55fa690601673b0d3ea6f (diff) | |
| parent | e0927d68cb468b43238c799d27237f4649f45e34 (diff) | |
| download | meta-cloud-services-09ed6f8a6d36840c0a8d0bb19560cbfda445d6a4.tar.gz | |
Merge branch 'havana'
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 |
