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

chown to inventory provider after installing as root

parent 02f9083b
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +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}',
f'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.
Finish editing this message first!
Please register or to comment