DREN/Kickstart/scripts: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

2 June 2023

  • curprev 19:2319:23, 2 June 2023Admin talk contribs 4,030 bytes +4,030 Created page with "==initiateKickstart== #!/usr/bin/python import xmlrpclib import subprocess import sys SATELLITE_URL = "http://localhost/rpc/api" SATELLITE_LOGIN = "daniel.roessner.adm" SATELLITE_PASSWORD = SYSTEM = "rdhpwngmp-09.711hpw.afrl-wrs.hpc.mil" PROFILE_NAME = "DCOS-Slave" def kickstart(key, SYSTEM, PROFILE_NAME): list = client.system.listSystems(key) for sys in list: if sys['name'] == SYSTEM: system_id = sys['id'] #print client.kickstart.lis..."