(no commit message)
[devwiki.git] / vmdk.mdwn
1 [[!meta title="VM images"]]
2 [[!toc]]
3
4 There is a Moonshot test VM image that contains a complete development environment for Moonshot. In particular it contains:
5
6 * compiler, debugger
7 * Sources for moonshot, Shibboleth, libradsec and the like
8 * All dependencies mentioned [[here|building]]
9 * A build of the [MIT Kerberos](http://web.mit.edu/kerberos/) gss-sample applications
10 * A configured freeradius server
11
12
13 ## What it works with
14
15 The Image should work with:
16
17 * xen (tested)
18 * Virtualbox (tested)
19 * qemu (tested)
20 * Vmware
21
22 To use VirtualBox on a Mac, you will need to modify the virtual hardware configuration to add a serial port, though it can be disabled.
23
24 If that causes eth0 to turn into eth1, do the following and reboot.
25
26 $ sudo rm /etc/udev/rules.d/70-persistent-net.rules
27
28 The image expects:
29
30 * PAE to be enabled
31 * An ioapic to be enabled
32
33 ## Consoles
34
35 Consoles are available on hvc0 (virt_ops console for xen), ttyS0 (serial console) and on the monitor and keyboard.
36
37 ## Logging in
38
39 There is one account; user moonshot with password moonshot.
40
41 ## testing Moonshot
42
43  *         cd krb5-1.9/src/appl/gss-sample
44 *          ./gss-server  host@moonshot-test.project-moonshot.org &
45 *          ./gss-client  -mech "{1 3 6 1 4 1 5322 22 1 18}" 
46                -user steve@local -pass testing  127.0.0.1 host@localhost  bar                                    
47
48 # Obtaining Images
49
50 Sources to the GPL items included in the image can be found in Debian
51 squeeze's source repository. One way to get these sources is to
52 download the source 1
53 [DVD](http://moonshot-image.s3.amazonaws.com/debian-6.0.0-source-DVD-1.iso)
54
55 *
56   [moonshot-20110311.vmdk](http://moonshot-image.s3.amazonaws.com/moonshot-20110311.vmdk)
57
58 # TODO
59
60 * Copy the dictionary.ukerna file from mech_eap to /usr/share/freeradius, and include this file within /usr/share/freeradius/dictionary.