On 10/04/18 14:49, Aaron Conole wrote:
> +%pre
> +getent group openvswitch >/dev/null || groupadd -r openvswitch
> +getent passwd openvswitch >/dev/null || \
> + useradd -r -g openvswitch -d / -s /sbin/nologin \
> + -c "Open vSwitch Daemons" openvswitch
> +
> +%if %{with dpdk}
> + getent group hugetlbfs >/dev/null || groupadd hugetlbfs
> + usermod -a -G hugetlbfs openvswitch
> +%endif
> +exit 0
Maybe this 'exit 0' is not actually needed here?
--
markos
SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev