Update syncuser to read passwd and group from sysconfdir
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -193,7 +193,7 @@ func ImageImport(cip *wwapiv1.ImageImportParameter) (imageName string, err error
|
||||
}
|
||||
|
||||
if cip.SyncUser {
|
||||
err = image.SyncUids(cip.Name, true)
|
||||
err = image.Syncuser(cip.Name, true)
|
||||
if err != nil {
|
||||
err = fmt.Errorf("syncuser error: %w", err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user