toolkit/iso/py/templates/buildImage.tmpl.sh

20 lines
537 B
Bash
Raw Normal View History

2022-06-15 20:53:12 +00:00
#!/bin/bash
{% for pkg in lorax %}
sed -i '/{{ pkg }}/ s/^/#/' /usr/share/lorax/templates.d/80-rhel/runtime-install.tmpl
{% endfor %}
lorax --product='{{ distname }}' \
--version='{{ revision }}' \
--release='{{ revision }}' \
{%- for repo in repos %}
--source={{ repo.url }} \
{%- endfor %}
--variant={{ variant }} \
--nomacboot \
--buildarch={{ arch }} \
2022-06-16 19:24:19 +00:00
--volid={{ shortname }}-{{ major }}-{{ minor }}{{ rc }}-{{ arch }}-boot1 \
2022-06-15 20:53:12 +00:00
--logfile={{ mock_work_root }}/lorax.log \
--rootfs-size=3 \
{{ lorax_work_root }}