Freedom

From Netsoc Wiki
Jump to: navigation, search

    ____                   __
   / __/_______  ___  ____/ /___  ____ ___
  / /_/ ___/ _ \/ _ \/ __  / __ \/ __ `__ \
 / __/ /  /  __/  __/ /_/ / /_/ / / / / / /
/_/ /_/   \___/\___/\__,_/\____/_/ /_/ /_/


Freedom is a VM on Snark. It is a HVM with 1 VCPU, 4096 MB of RAM, and has FreeBSD 9.0 amd64 installed on it. It can be connected to via SSH or VNC. It's IP is 134.226.83.59. The storage medium is a 15GB logical volume partitioned into a 768MB swap and just about all the rest as a UFS partition for /. The configuration file for freedom is given below (correct as of 10/07/2012):

# freedom.cfg

# Configure for a HVM

kernel       = "/usr/lib/xen-4.1/boot/hvmloader"
builder      = 'hvm'
device_model = '/usr/lib/xen-default/bin/qemu-dm'

# Hardware Specs

memory       = 4096
name         = "freedom"
disk         = [ 'phy:/dev/raid1-vms/freedom-disk,xvda,w', 'file:/home/isos/FreeBSD-9.0-RELEASE-amd64-disc1.iso,xvdc:cdrom,r' ]
boot         = "cd" # Hard drive (c) first, CD (d) second
vif          = ['mac=00:0c:29:2c:97:d0, bridge=xenbr0, ip=134.226.83.60']

# Connectivity

#sdl          = 0    # Disabled by default
vnc          = 1
vnclisten    = "0.0.0.0"
vncconsole   = 1
vncpasswd    = 'redacted'
#stdvga       = 0
#serial       = 'pty'
usbdevice    = 'tablet'  # Needed to make the mouse work properly in VNC (unnecessary here since it's a CLI!)

# Whoopsie options

on_poweroff  = 'destroy'
on_reboot    = 'restart'
on_crash     = 'restart'