Skip to content
Snippets Groups Projects
Commit 9a197ca2 authored by Erik Reid's avatar Erik Reid
Browse files

forgot to su for chown

parent f8dc5360
Branches
Tags
No related merge requests found
......@@ -34,7 +34,7 @@ def _install_proc(hostname, username, password, sdist):
f'sudo su - -c \'{pip} uninstall -y inventory\'',
f'sudo su - -c \'{pip} install {scp_destination}\'',
f'rm {scp_destination}',
'chown -R inventory.inventory /home/inventory/venv',
'sudo su - -c \'chown -R inventory.inventory /home/inventory/venv\'',
'exit'
]
stdin.write('\n'.join(commands) + '\n')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment