Reconfigure Linux VM Guest Image: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
* Change the root password.
* Change the root password.
* Configure [[Linux_logrotate#Configuration|log rotation]].
* Configure [[Linux_logrotate#Configuration|log rotation]].
* Make sure the guest starts automatically on virtualization host reboot.
* Manual start/stop scripts in ~/environments/.../start-*|stop-*

Revision as of 03:50, 22 April 2018

Internal

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-*