Update server.py

This commit is contained in:
Tristan 2024-03-21 20:54:32 -04:00 committed by GitHub
parent b49b9aa6f0
commit 498943b88c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@ import subprocess
# Server IPMI details
IPMIHOST = "192.168.1.223"
IPMIUSER = "root"
IPMIPASS = "fuck pizza hut"
IPMIPASS = "<oops>"
def execute_ipmi_command(command):
full_command = f"ipmitool -I lanplus -H {IPMIHOST} -U {IPMIUSER} -P \"{IPMIPASS}\" {command}"
@ -67,4 +67,4 @@ else:
# Here, you can add a function to power off if desired
pass
if args.fan is not None:
set_fan_speed(args.fan)
set_fan_speed(args.fan)