forked from TrueCloudLab/frostfs-testlib
[#143] Change network utils
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
parent
54d26b226c
commit
f1264bd473
4 changed files with 48 additions and 120 deletions
|
@ -9,7 +9,7 @@ class SudoInspector(CommandInspector):
|
|||
|
||||
def inspect(self, original_command: str, command: str) -> str:
|
||||
if not command.startswith("sudo"):
|
||||
return f"sudo {command}"
|
||||
return f"sudo -i {command}"
|
||||
return command
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue