ovmcli change ip on guest machine (running Windows XP)
783304Jul 6 2010 — edited Jul 9 2010Hello,
I'm new to OracleVM but find it very useful.
We had previous expierences with VMWare virtualization in our company
(VMWare server 2.0). It had VMWare tools which included cli (command line interface).
I need to change IP address of Windows XP guest machine.
To be exact: our guest machine is running windows XP, our host is Oracle VM.
We want to change IP from let's say: 10.60.60.200 to 10.60.60.201 on our guest machine running XP.
In WMWare we used:
$command = "netsh interface ip set address LAN static 10.60.60.200 255.255.255.0 10.60.60.1 1";
and a command that fired the action $command:
vmrun -T server -h HOST_IP_ADDRESS -u HOST_USER -p HOST_PASSWORD -gu GUEST_USER -gp GUEST_PASSWORD runScriptInGuest "DATASTORE TEMP/xxx.vmx" cmd /c & $command;
Is there something similar to "runScriptInGuest" or is there any other way to change IP of guest machine in Oracle VM?
I tried to use
ovmcli with:
vm nic conf
but the options don't include changing IP.
As far as I can see there is only:
--serverpool_name
--vm_name
--nic_name
--new_nic_name
--bridge
--rate_limit
--enable_qos
--disable_qos
options available for configuring network interface adapters.
Bert