Pages

Thursday, June 14, 2012

How create a virtual machine from a previously cloned template on Oracle VM 3.0.3: step 2

Previous step is here

When you select "Launch Console" a new browser window download a jnlp file. Click on the first button ("Conserva" in my language and with Chrome browser) and a java console will appear.



This console gives you the ability to connect directly to your machine simulating an IPMI console.



You have to connect with root account and begin to modify network file configurations.

If you take a look at the status of network service you can see that only loopback interface is active. You can type also ifconfig command to see the same result: if you issue the ifconfig -a command you can see all the available interface, so eth0 appears as output.





















We have now to modify the /etc/hosts file and change the template hosts file with the right one.







The following is my current hosts file, with the right IP address and hostname


Now it's time to take a look at network-scripts directory. There's a ifcfg-eth0.bak file and if you look into you can discover the IP address of the cloned machine.


So let's go into the /etc/sysconfig/network-scripts directory and edit that file.

I need to change the ip address from .71

to .78, the IP address of my new cloned machine.






Now rename the ifcfg-eth0.bak file in ifcfg-eth0








Step 3 is here

2 comments: