add missing - to install parameter
This commit is contained in:
parent
0db08db831
commit
92beb28816
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ def set_file_ssh_authorized_keys(username, ssh_keys):
|
||||||
try:
|
try:
|
||||||
subprocess.check_output([
|
subprocess.check_output([
|
||||||
SUDO_CMD, INSTALL_CMD, '-o', username, '-g', username,
|
SUDO_CMD, INSTALL_CMD, '-o', username, '-g', username,
|
||||||
'm', '0500', '-d', os.path.dirname(ssh_authorized_keys_file)],
|
'-m', '0500', '-d', os.path.dirname(ssh_authorized_keys_file)],
|
||||||
stderr=subprocess.STDOUT)
|
stderr=subprocess.STDOUT)
|
||||||
subprocess.check_output([
|
subprocess.check_output([
|
||||||
SUDO_CMD, INSTALL_CMD, '-o', username, '-g', username,
|
SUDO_CMD, INSTALL_CMD, '-o', username, '-g', username,
|
||||||
|
|
Loading…
Reference in a new issue