-
Notifications
You must be signed in to change notification settings - Fork 6
/
KankuFile.fedora
49 lines (45 loc) · 1.28 KB
/
KankuFile.fedora
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
Kanku::Util::IPTables:
start_port: 49001
domain_name: fedora
default_job: kanku-job
login_user: root
login_pass: kankudai
qemu:
user:
jobs:
kanku-job:
-
use_module: Kanku::Handler::SetJobContext
options:
host_interface: eth0
-
use_module: Kanku::Handler::OBSCheck
options:
api_url: https://api.opensuse.org/public
# Please have a look at
# https://build.opensuse.org/project/show/devel:kanku:images
# to find more official Images
project: devel:kanku:images
repository: images_fedora
package: Fedora-Rawhide-JeOS
use_oscrc: 0
-
use_module: Kanku::Handler::ImageDownload
-
use_module: Kanku::Handler::CreateDomain
options:
memory: 2G
vcpu: 2
use_9p: 1
#forward_port_list: tcp:22,tcp:443
-
use_module: Kanku::Handler::PrepareSSH
-
use_module: Kanku::Handler::ExecuteCommandViaSSH
options:
commands:
- curl https://download.opensuse.org/repositories/devel:/kanku:/staging/Fedora_Rawhide/devel:kanku:staging.repo > /etc/yum.repos.d/devel:kanku:staging.repo
- curl https://download.opensuse.org/repositories/devel:/kanku:/perl/Fedora_Rawhide/devel:kanku:perl.repo > /etc/yum.repos.d/devel:kanku:perl.repo
- dnf update
- dnf install kanku