Changes between Version 12 and Version 13 of install_kvm
- Timestamp:
- Mar 5, 2011, 8:27:18 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
install_kvm
v12 v13 36 36 1. Add at least one user to the access list for the new KVM guest's serial console 37 37 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: 40 42 {{{ 41 43 monkeysphere-authentication update-users 42 44 }}} 43 1. SSH key way44 1. Add an SSH key to the /home/<guestname>/.ssh/authorized_keys file45 45 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 installing48 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 49 49 1. Change into /usr/local/share/ISOs: {{{ cd /usr/local/share/ISOs }}} 50 50 1. Run: 51 51 {{{ 52 di-maker install.iso /root/preseed.cfg /root/server-specifics.cfg /root/late_command 52 0 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 54 Resolving ftp.nl.debian.org... 130.89.149.21, 2001:610:1908:a000::149:21 55 Connecting to ftp.nl.debian.org|130.89.149.21|:80... connected. 56 HTTP request sent, awaiting response... 200 OK 57 Length: 2417312 (2.3M) [application/octet-stream] 58 Saving to: “linux” 59 60 100%[=====================================================================>] 2,417,312 1.81M/s in 1.3s 61 62 2011-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 65 Reusing existing connection to ftp.nl.debian.org:80. 66 HTTP request sent, awaiting response... 200 OK 67 Length: 6747069 (6.4M) [application/octet-stream] 68 Saving to: “initrd.gz” 69 70 100%[=====================================================================>] 6,747,069 3.40M/s in 1.9s 71 72 2011-03-05 15:22:07 (3.40 MB/s) - “initrd.gz” saved [6747069/6747069] 73 74 FINISHED --2011-03-05 15:22:07-- 75 Downloaded: 2 files, 8.7M in 3.2s (2.76 MB/s) 76 38743 blocks 77 38772 blocks 78 Enabling BIOS support ... 79 xorriso 0.5.6 : RockRidge filesystem manipulator, libburnia project. 80 81 0 negri:/usr/local/share/ISOs# 53 82 }}} 54 83 1. Create a symlink called cd.iso in the /home/<guestname>/vms/<guestname>/ directory with a target of the desired ISO: