D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
lib
/
python3.6
/
site-packages
/
up2date_client
/
Filename :
rhnHardware.py
back
Copy
from up2date_client import up2dateAuth from up2date_client import rpcServer from up2date_client import hardware def updateHardware(): s = rpcServer.getServer() hardwareList = hardware.Hardware() s.registration.refresh_hw_profile(up2dateAuth.getSystemId(), hardwareList)