diff --git a/openstack-nova.spec b/openstack-nova.spec index 388f82e3edcd95bac71ff5b756eb76f199bd4933..4cd7780f97765f994185e6ecf77ac14f0b690361 100644 --- a/openstack-nova.spec +++ b/openstack-nova.spec @@ -17,7 +17,7 @@ Name: openstack-nova # Liberty semver reset # https://review.openstack.org/#/q/I6a35fa0dda798fad93b804d00a46af80f08d475c,n,z Version: 25.0.0 -Release: 2 +Release: 3 Summary: OpenStack Compute (nova) License: ASL 2.0 @@ -569,10 +569,7 @@ rm -rf os_xenapi %endif %pre common -getent group nova >/dev/null || groupadd -r nova --gid 162 -if ! getent passwd nova >/dev/null; then - useradd -u 162 -r -g nova -G nova,nobody -d %{_sharedstatedir}/nova -s /sbin/nologin -c "OpenStack Nova Daemons" nova -fi +%openstack_pre_user_group_create -u 162 nova -g 162 nova /sbin/nologin exit 0 %pre compute @@ -727,6 +724,9 @@ exit 0 %endif %changelog +* Sat Oct 8 2022 binshuozu - 25.0.0-3 +- Migrate to openstack-macros to create user & group + * Mon Jul 18 2022 renliang16 - 25.0.0-2 - Fixed bug with no module named oslo_limit