initial upload
This commit is contained in:
parent
1f4922ce56
commit
29a254fbbb
397 changed files with 13623 additions and 0 deletions
6
tools/get_hostname.py
Normal file
6
tools/get_hostname.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import subprocess
|
||||
|
||||
result = subprocess.run(['hostname'], capture_output=True, text=True)
|
||||
hostname = result.stdout.strip()
|
||||
print(f"Hostname: {hostname}")
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue