Commit aa592857 authored by Alain Takoudjou's avatar Alain Takoudjou

slapos format: fix check required passwd binary (don't ask password)

parent dc6e39cb
...@@ -1379,7 +1379,7 @@ class FormatConfig(object): ...@@ -1379,7 +1379,7 @@ class FormatConfig(object):
if not self.dry_run: if not self.dry_run:
if self.alter_user: if self.alter_user:
self.checkRequiredBinary(['groupadd', 'useradd', 'usermod', 'passwd']) self.checkRequiredBinary(['groupadd', 'useradd', 'usermod', ['passwd', '-h']])
if self.create_tap: if self.create_tap:
self.checkRequiredBinary([['tunctl', '-d']]) self.checkRequiredBinary([['tunctl', '-d']])
if self.tap_gateway_interface: if self.tap_gateway_interface:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment