From: Dennis Gilmore ausil@fedoraproject.org
Signed-off-by: Dennis Gilmore ausil@fedoraproject.org --- roles/koji_builder/files/oz.cfg | 22 ++++++++++++++++++++++ roles/koji_builder/tasks/main.yml | 8 ++++++++ 2 files changed, 30 insertions(+), 0 deletions(-) create mode 100644 roles/koji_builder/files/oz.cfg
diff --git a/roles/koji_builder/files/oz.cfg b/roles/koji_builder/files/oz.cfg new file mode 100644 index 0000000..3d045d2 --- /dev/null +++ b/roles/koji_builder/files/oz.cfg @@ -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 + diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml index 3888c9a..25e80be 100644 --- a/roles/koji_builder/tasks/main.yml +++ b/roles/koji_builder/tasks/main.yml @@ -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'))