Update syncuser to read passwd and group from sysconfdir
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
func CobraRunE(cmd *cobra.Command, args []string) error {
|
||||
if SyncUser {
|
||||
for _, name := range args {
|
||||
if err := image.SyncUids(name, true); err != nil {
|
||||
if err := image.Syncuser(name, true); err != nil {
|
||||
return fmt.Errorf("syncuser error: %w", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user