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

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 37: Line 37:
* [[Hostnamectl#Change_the_Host_Name|Change machine name]].
* [[Hostnamectl#Change_the_Host_Name|Change machine name]].
* 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]].
* 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]].
* [[Linux_7_Configuring_a_Network_Interface#Configure_a_Network_Interface_after_Cloning_a_VM_Image|Change the IP address]].
* If multicast was enabled and a static multicast added, update the IP address of the interface in <tt>/etc/sysconfig/network-scripts/route-*</tt>.
* 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]].
* [[/etc/machine-id#Setting_a_New_Machine_ID|Change machine ID]].
* <tt>yum -y update</tt>
* <tt>yum -y update</tt>
* Install various public keys in <tt>~/.ssh/authorized_keys</tt>.
* Install various public keys in <tt>~/.ssh/authorized_keys</tt>.

Revision as of 00:46, 5 April 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