mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Snmpsim setup: fix python exe name (#16492)
call python3 like every other script
This commit is contained in:
@@ -78,7 +78,7 @@ class Snmpsim extends Process
|
||||
if (! $this->isVenvSetUp()) {
|
||||
Log::info('Setting up snmpsim virtual env in ' . $snmpsim_venv_path);
|
||||
|
||||
$setupProcess = new Process(['python', '-m', 'venv', $snmpsim_venv_path]);
|
||||
$setupProcess = new Process(['/usr/bin/env', 'python3', '-m', 'venv', $snmpsim_venv_path]);
|
||||
$setupProcess->setTty($print_output);
|
||||
$setupProcess->run();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user