~jose/charms/precise/sbuild/1297637-fix

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
This charm is designed to set up sbuild for a bug-squashing party.

It _enables_ SSH passwords (after locking the ubuntu user's password), so
beware.

Hacks to run remotely:

    hooks/wipe

for destroying all chroots.

    hooks/report $EXTERNAL_HOSTNAME

for reporting the state of a machine.

# Usage

For example, to throw a bug-squashing party, configure juju and sbuild.yaml for
the password salt, distros, etc, then execute:

    juju boostrap
    juju deploy --config sbuild.yaml --repository /scratch/ubuntu/vcs/juju/examples local:sbuild builder-bsp
    juju add-unit builder-bsp
    juju add-unit builder-bsp
    juju add-unit builder-bsp

    # Dump reports printable on little slips of paper to hand out at the party:
    ./slips builder-bsp | mpage -1 | lp