Changes between Initial Version and Version 1 of debirf-boot-on-kvm-guest


Ignore:
Timestamp:
Feb 9, 2012, 2:16:31 PM (14 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • debirf-boot-on-kvm-guest

    v1 v1  
     1= Debirf Image on KVM guest =
     2
     3[http://cmrg.fifthhorseman.net/wiki/debirf debirf] is a minimal debian installation that runs entirely in RAM, allowing you to have full access to any underlying disks (among other benefits).
     4
     5To boot a KVM guest to debirf, first ensure that you have a debirf .iso file in /usr/local/share/ISOs on the host (if not, you can [http://debirf.cmrg.net/autobuilds/ download a pre-built one].
     6
     7Then, create a symlink from /home/<guest>/vms/<guest>/cd.iso to this downloaded file and shutdown the guest.
     8
     9You can access the debirf image via the kvm console (`ssh <guest>@<host>.mayfirst.org screen -x`).
     10
     11Login as root (with no password).
     12
     13== Networking ==
     14
     15You can setup networking with the following commands:
     16
     17{{{
     18ip=209.51.163.203/28 gateway=209.51.163.193 && \
     19 ip addr add "$ip" dev eth0 && \
     20 ip link set dev eth0 up && \
     21 ip route add default via "$gateway" dev eth0
     22echo "nameserver 216.66.23.46" > /etc/resolv.conf
     23}}}