HomeFreeBSD

nuageinit: Ignore non-existent groups

Description

nuageinit: Ignore non-existent groups

In cloud-init, when a group specified in the 'users.{index}.groups' parameter
does not exist, it is ignored, but the user is created anyway. In the case of
nuageinit, it exits with an exception, since pw(8) expects each group to exist.

Reviewed by: bapt@
Approved by: bapt@
Differential Revision: https://reviews.freebsd.org/D52718

(cherry picked from commit 68691160f41bf6ce9ab70ddeeb7eeec2a7bff245)

Details

Provenance
dtxdfAuthored on Sat, Sep 27, 10:03 PM
baptCommitted on Tue, Oct 7, 6:52 AM
Differential Revision
D52718: nuageinit: Ignore non-existent groups
Parents
rG8a76161c0df2: nss_tacplus: Fix typo MK_INSTALLIB -> MK_INSTALLLIB
Branches
Unknown
Tags
Unknown