Changes between Version 12 and Version 13 of install_kvm


Ignore:
Timestamp:
Mar 5, 2011, 3:27:18 PM (11 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • install_kvm

    v12 v13  
    3636 1. Add at least one user to the access list for the new KVM guest's serial console
    3737  1. Monkeysphere way:
    38    1. Add a uid to the /home/<guestname>/.monkeysphere/authorized_user_ids file
    39    1. Rebuild the monkeysphere-controlled SSH authorized_keys files:
     38   1. Add a uid to the /home/<guestname>/.monkeysphere/authorized_user_ids file or copy /root/.monkeysphere/authorized_user_ids to /home/<guestname>/.monkeysphere
     39  1. SSH key way
     40   1. Add an SSH key to the /home/<guestname>/.ssh/authorized_keys file
     41        1. Rebuild the monkeysphere-controlled SSH authorized_keys files:
    4042{{{
    4143monkeysphere-authentication update-users
    4244}}}
    43   1. SSH key way
    44    1. Add an SSH key to the /home/<guestname>/.ssh/authorized_keys file
    4545 1. If you are installing an operating system to the new KVM guest:
    46   1. Put the iso in the {{{ /usr/local/share/ISOs }}} directory. Be sure to verify the checksums on downloaded ISOs!
    47   1. Customize the iso with details for the server you are installing
    48    1. First edit /root/server-specifics.cfg - change values to match the server you are building
     46  1. Customize the details for the server you are installing
     47   1. First copy /root/preseed-repo/squeeze/example-server-specifics.cfg to <guestname>-server-specifics.cfg
     48         1. Edit <guestname>-server-specifics.cfg with the new server's info
    4949   1. Change into /usr/local/share/ISOs: {{{ cd /usr/local/share/ISOs }}}
    5050   1. Run:
    5151{{{
    52 di-maker install.iso /root/preseed.cfg /root/server-specifics.cfg /root/late_command
     520 negri: di-maker hay-squeeze.iso /root/preseed-repo/squeeze/preseed.cfg /root/preseed-repo/squeeze/hay-server-specifics.cfg /root/preseed-repo/squeeze/late_command                                   
     53--2011-03-05 15:22:04--  http://ftp.nl.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux                                                                               
     54Resolving ftp.nl.debian.org... 130.89.149.21, 2001:610:1908:a000::149:21                                       
     55Connecting to ftp.nl.debian.org|130.89.149.21|:80... connected.                                               
     56HTTP request sent, awaiting response... 200 OK                                                                 
     57Length: 2417312 (2.3M) [application/octet-stream]                                                             
     58Saving to: “linux”                                                                                             
     59                                                                                                               
     60100%[=====================================================================>] 2,417,312   1.81M/s   in 1.3s     
     61                                                                                                               
     622011-03-05 15:22:05 (1.81 MB/s) - “linux” saved [2417312/2417312]                                             
     63                                                                                                               
     64--2011-03-05 15:22:05--  http://ftp.nl.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz                                                                           
     65Reusing existing connection to ftp.nl.debian.org:80.
     66HTTP request sent, awaiting response... 200 OK
     67Length: 6747069 (6.4M) [application/octet-stream]
     68Saving to: “initrd.gz”
     69
     70100%[=====================================================================>] 6,747,069   3.40M/s   in 1.9s   
     71
     722011-03-05 15:22:07 (3.40 MB/s) - “initrd.gz” saved [6747069/6747069]
     73
     74FINISHED --2011-03-05 15:22:07--
     75Downloaded: 2 files, 8.7M in 3.2s (2.76 MB/s)
     7638743 blocks
     7738772 blocks
     78Enabling BIOS support ...
     79xorriso 0.5.6 : RockRidge filesystem manipulator, libburnia project.
     80
     810 negri:/usr/local/share/ISOs#
    5382}}}
    5483  1. Create a symlink called cd.iso in the /home/<guestname>/vms/<guestname>/ directory with a target of the desired ISO: