Server : LiteSpeed System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : alloknri ( 880) PHP Version : 8.1.34 Disable Function : NONE Directory : /usr/lib/python3.6/site-packages/up2date_client/
Upload File :
Current File : //usr/lib/python3.6/site-packages/up2date_client/rhnHardware.py
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)