Machine/bender/Buildslave-fedora-10-64bit

From Sugar Labs
Jump to: navigation, search

Description

buildslave-fedora-10-64bit is a 64bit VM running Fedora 10 for the BuildBot network.

Installation

Base system

sudo virt-install --ram=512 --name=buildslave-fedora-10-64bit --arch=x86_64 \
  --vcpus=1 --hvm --accelerate --disk pool=qcow-images,size=10 \
  --network=network:default --vnc \
  --location=http://fedora.mirror.garr.it/mirrors/fedora/linux/releases/10/Fedora/x86_64/os

This will create a new VM and run the Fedora installer inside it, with the "console" attached via virt-view. If you don't have a US keyboard virt-view won't work properly for you and you have to use VNC directly:

  1. close virt-view
  2. Determine the VNC port used for this VM (VNC port = 5900 + number shown by virsh, e.g. 5905 for :5):
    sudo virsh vncdisplay buildslave-debian-squeeze-64bit
  3. Set up ssh port forwarding for the VNC port:
    ssh -L 5930:localhost:<vnc port> -N <user>@bender.sugarlabs.org
  4. Start VNC client:
    vncviewer :30

Config options:

  • buildslave-fedora-10-64bit.sugarlabs.org
  • Etc/UTC
  • default disk layout
  • manual layout, swap 512M, / ext3 max size
  • no tasks
  • F10 and F10 updates repo

Start again after installation:

sudo virsh start buildslave-fedora-10-64bit

Reconnect VNC client:

vncviewer :30
  • User administrator, root password
  • don't send profile

After installation finished:

  • use virt-viewer to send Alt+Ctrl+F2
  • use VNC client to log in as root
  • install packages for next steps:
yum install openssh-server git