Changes between Version 2 and Version 3 of install_kvm


Ignore:
Timestamp:
Jun 19, 2010, 9:37:45 PM (14 years ago)
Author:
Greg Lyle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • install_kvm

    v2 v3  
    11This page documents the procedure for creating a new KVM guest on a mayfirst server.
     2
     3This document is not complete! Do not use it to actually create a new KVM guest yet.
    24
    35= Creating a new KVM guest =
     
    810USAGE: kvm-creator create|destroy|demo guestname [volumegroup [disksize [ram [tap [mac] ] ] ]
    911}}}
     12 1. NETWORK SETUP??
     13 1. If you are installing an operating system to the new KVM guest:
     14  1. Put the iso in the {{{ /usr/local/share/ISOs }}} directory. Be sure to verify the checksums on downloaded ISOs!
     15  1. Create a symlink called cd.iso in the /home/<guestname>/vms/<guestname>/ directory with a target of the desired ISO:
     16{{{
     17ln -s /home/<guestname/vms/<guestname>/cd.iso /usr/local/share/ISOs/<some-installer>.iso
     18}}}
     19 1. Add at least one user to the access list for the new KVM guest's serial console
     20  1. Monkeysphere way:
     21   1. Add a uid to the /home/<guestname>/.monkeysphere/authorized_user_ids file
     22   1. Rebuild the monkeysphere-controlled SSH authorized_keys files:
     23{{{
     24monkeysphere-authentication update-users
     25}}}
     26  1. SSH key way
     27   1. Add an SSH key to the /home/<guestname>/.ssh/authorized_keys file
     28 1. START THE NEW KVM GUEST
     29 1. Log into the new guest via SSH
     30 1. Install an OS or do something else.