VirtualBox Virtual Machine and Linux O/S Clone: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 35: Line 35:
===Reconfiguration Sequence===
===Reconfiguration Sequence===


* [[Hostnamectl#Change_the_Host_Name|Change machine name]].
<span id="Reconfigure_Linux_VM_Guest_Image"></span>{{Internal|Reconfigure Linux VM Guest Image|Reconfigure Linux VM Guest Image}}
* Pick an available IP address from [[RHEL 7/Centos 7 Installation#ip_address_spreadsheet|IP address spreadsheet]] and update [[RHEL 7/Centos 7 Installation#ip_address_spreadsheet|IP address spreadsheet]].
* If multicast was enabled and a static multicast added, update the IP address of the interface in <tt>/etc/sysconfig/network-scripts/route-*</tt>.
* [[Linux_7_Configuring_a_Network_Interface#Configure_a_Network_Interface_after_Cloning_a_VM_Image|Change the IP address]].
* [[/etc/machine-id#Setting_a_New_Machine_ID|Change machine ID]].
* <tt>yum -y update</tt>
* Install various public keys in <tt>~/.ssh/authorized_keys</tt>.

Latest revision as of 20:43, 3 May 2017

Internal

Overview

This is the procedure to create a clone of a VirtualBox Virtual Machine, including an O/S image.

Procedure

Shut Down the Template

Clone the Template Including the O/S Image

Right click on the newly created VM -> Clone

Turn to "Expert Mode"

Give it the appropriate name: "Centos 7.3 Docker Server"

Clone Type: "Full Clone"

Snapshots: "Current machine state"

Reinitialize the MAC address of all network cards

Clone.

Reconfigure the O/S Image

Start the Clone

Normal Start, to get access to a console that would allow reconfiguration

Reconfiguration Sequence

Reconfigure Linux VM Guest Image