Changes between Version 5 and Version 6 of install_kvm


Ignore:
Timestamp:
Jan 15, 2011, 10:54:14 PM (13 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • install_kvm

    v5 v6  
    1212 1. If you are installing an operating system to the new KVM guest:
    1313  1. Put the iso in the {{{ /usr/local/share/ISOs }}} directory. Be sure to verify the checksums on downloaded ISOs!
     14  1. Customize the iso with details for the server you are installing
     15   1. First edit /root/server-specifics.cfg - change values to match the server you are building
     16   1. Change into /usr/local/share/ISOs: {{{ cd /usr/local/share/ISOs }}}
     17   1. Run:
     18{{{
     19di-maker install.iso /root/preseed.cfg /root/server-specifics.cfg
     20}}}
    1421  1. Create a symlink called cd.iso in the /home/<guestname>/vms/<guestname>/ directory with a target of the desired ISO:
    1522{{{
     
    2532  1. SSH key way
    2633   1. Add an SSH key to the /home/<guestname>/.ssh/authorized_keys file
    27  1. START THE NEW KVM GUEST
    28  1. Log into the new guest via SSH
    29  1. Install an OS
    30   1. CREATE A BOOT PARTITION? BY DEFAULT, USE A KERNEL FROM OUTSIDE THE GUEST?
    31   1. NETWORK SETUP? This appears to be as easy as claiming an IP from the [https://support.mayfirst.org/wiki/ip_allocation IP allocation list] and using this during the OS setup, though this process may be incorrect, even if it works.
    32   1. Generally the <guestname> LV should be used inside the KVM guest as a single PV
     34 1. Tell runit to start the guest automatically
     35{{{
     36update-server --add /etc/sv/kvm/SERVER-NAME
     37}}}
     38 1. Log into the new guest via ssh: {{{ ssh SERVER-NAME@HOST-NAME }}}
     39 1. Install an OS: everything should be handled by preseed file