http://libguestfs.org/

http://libguestfs.org/virt-win-reg.1.html

Install guestfs tools
yum install '*guestf*'
Create file computername.reg
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ComputerName\ComputerName]
@="mnmsrvc"
"ComputerName"="OracleClient_1"
 
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\ComputerName\ComputerName]
@="mnmsrvc"
"ComputerName"="OracleClient_1"
 
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tcpip\Parameters]
"Hostname"="OracleClient_1"
"NV Hostname"="OracleClient_1"
 
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\Tcpip\Parameters]
"Hostname"="OracleClient_1"
"NV Hostname"="OracleClient_1"
 
Execute
virt-win-reg -merge oraclient-win7 computername.reg
  • Нет меток