v3: universal auto-installer, silent mode, silent binders
This commit is contained in:
@@ -590,8 +590,13 @@ def main():
|
||||
global last_log_check_time, heartbeat_interval, node_tags
|
||||
parser = argparse.ArgumentParser(description="NexusOps Cross-Platform Node Agent")
|
||||
parser.add_argument("--server", default="https://agent.thetempleofdoom.com", help="Dashboard server URL endpoint")
|
||||
parser.add_argument("--silent", action="store_true", help="Suppress all console output")
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.silent:
|
||||
sys.stdout = open(os.devnull, 'w')
|
||||
sys.stderr = open(os.devnull, 'w')
|
||||
|
||||
server_url = args.server.rstrip('/')
|
||||
hostname = socket.gethostname()
|
||||
system_os = platform.system()
|
||||
|
||||
Reference in New Issue
Block a user