Fix typo in manual and add README file.
[mclu.git] / templates / rawhide.template
1 #!/bin/bash -
2
3 set -e
4
5 case "$1" in
6     probe)
7         echo "hello"
8         ;;
9
10     # Build image.
11     build)
12         virt-builder "$base_image" --output "$output" --format "$format" \
13                      $size \
14                      --hostname "$name" \
15                      $timezone \
16                      --install fedora-repos-rawhide \
17                      --update \
18                      --root-password password:123456 \
19                      --selinux-relabel
20         ;;
21
22     base-image)
23         echo fedora-21
24         ;;
25
26     # Properties.
27     minimum-memory)
28         echo 1G
29         ;;
30     recommended-memory)
31         echo 4G
32         ;;
33     disk-bus)
34         echo virtio-scsi
35         ;;
36     network-model)
37         echo virtio
38         ;;
39
40     *)
41         exit 2
42         ;;
43 esac