~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
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.


For example, to throw a bug-squashing party:

...configure juju and local.yaml for the password salt, distros, etc...

juju boostrap
...time passes...

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

...time passes...

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