add a oz.cfg and deploy it. need to make some changes from upstream
Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org>
This commit is contained in:
parent
ff2f78e808
commit
f0fb0726f7
2 changed files with 30 additions and 0 deletions
22
roles/koji_builder/files/oz.cfg
Normal file
22
roles/koji_builder/files/oz.cfg
Normal file
|
@ -0,0 +1,22 @@
|
|||
[paths]
|
||||
output_dir = /var/lib/libvirt/images
|
||||
data_dir = /var/lib/oz
|
||||
screenshot_dir = /var/lib/oz/screenshots
|
||||
# sshprivkey = /etc/oz/id_rsa-icicle-gen
|
||||
|
||||
[libvirt]
|
||||
uri = qemu:///system
|
||||
image_type = raw
|
||||
# type = kvm
|
||||
# bridge_name = virbr0
|
||||
cpus = 2
|
||||
memory = 3096
|
||||
|
||||
[cache]
|
||||
original_media = yes
|
||||
modified_media = no
|
||||
jeos = no
|
||||
|
||||
[icicle]
|
||||
safe_generation = no
|
||||
|
|
@ -173,6 +173,14 @@
|
|||
- configs
|
||||
- koji_builder
|
||||
|
||||
# oz.cfg upstream ram and cpu definitions are not enough
|
||||
- name: oz.cfg
|
||||
copy: src=oz.cfg dest=/etc/oz/oz.cfg
|
||||
notify:
|
||||
- restart kojid
|
||||
tags:
|
||||
- koji_builder
|
||||
|
||||
- name: make a mnt/koji link
|
||||
file: state=link src=/mnt/fedora_koji/koji dest=/mnt/koji
|
||||
when: inventory_hostname.startswith(('build')) or inventory_hostname.startswith(('arm04-builder00')) or inventory_hostname.startswith(('arm04-builder01'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue