Reconfigure Linux VM Guest Image: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Linux_Virtualization_Cloning_a_KVM_Guest_Virtual_Machine#Boot_the_Clone_and_Finalize_the_Configuration|Cloning a KVM Guest Virtual Machine]] | |||
* [[VMware Fusion Operations#Reconfigure_Linux_VM_Guest_Image|VMware Fusion Operations]] | * [[VMware Fusion Operations#Reconfigure_Linux_VM_Guest_Image|VMware Fusion Operations]] | ||
* [[VirtualBox Virtual Machine and Linux O/S Clone#Reconfigure_Linux_VM_Guest_Image|VirtualBox Virtual Machine and Linux O/S Clone ]] | * [[VirtualBox Virtual Machine and Linux O/S Clone#Reconfigure_Linux_VM_Guest_Image|VirtualBox Virtual Machine and Linux O/S Clone ]] | ||
Line 8: | Line 9: | ||
* [[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]]. | * [[Linux_7_Configuring_a_Network_Interface#Configure_a_Network_Interface_after_Cloning_a_VM_Image|Change the IP address]]. On VirtualBox, the internal host-only IP interface is configured in ifcfg-eth0. | ||
* 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>. | ||
* [[/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>. | ||
* Change the root password. | |||
* Configure [[Linux_logrotate#Configuration|log rotation]]. | |||
* Make sure the guest starts automatically on virtualization host reboot. | |||
* Manual start/stop scripts in ~/environments/.../start-*|stop-* | |||
* Secure instance: [[Linux Security Hardening#Overview|Linux Security Hardening]]. |
Latest revision as of 04:02, 22 April 2018
Internal
- Cloning a KVM Guest Virtual Machine
- VMware Fusion Operations
- VirtualBox Virtual Machine and Linux O/S Clone
Sequence
- Change machine name.
- Pick an available IP address from IP address spreadsheet and update IP address spreadsheet.
- Change the IP address. On VirtualBox, the internal host-only IP interface is configured in ifcfg-eth0.
- If multicast was enabled and a static multicast added, update the IP address of the interface in /etc/sysconfig/network-scripts/route-*.
- Change machine ID.
- yum -y update
- Install various public keys in ~/.ssh/authorized_keys.
- Change the root password.
- Configure log rotation.
- Make sure the guest starts automatically on virtualization host reboot.
- Manual start/stop scripts in ~/environments/.../start-*|stop-*
- Secure instance: Linux Security Hardening.