{"id":26793416,"url":"https://github.com/thozza/ib-custom-files-demo","last_synced_at":"2025-03-29T16:31:19.852Z","repository":{"id":191658810,"uuid":"684119484","full_name":"thozza/ib-custom-files-demo","owner":"thozza","description":"Demos of files and directories customization in Image Builder","archived":false,"fork":false,"pushed_at":"2023-09-01T12:11:26.000Z","size":3091,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-09-02T09:28:20.542Z","etag":null,"topics":["image-builder","osbuild-composer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thozza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-28T13:50:50.000Z","updated_at":"2023-09-01T06:45:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca2a72cd-1724-4769-9c5e-fa2285020abb","html_url":"https://github.com/thozza/ib-custom-files-demo","commit_stats":null,"previous_names":["thozza/ib-custom-files-demo"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thozza%2Fib-custom-files-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thozza%2Fib-custom-files-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thozza%2Fib-custom-files-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thozza%2Fib-custom-files-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thozza","download_url":"https://codeload.github.com/thozza/ib-custom-files-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246213370,"owners_count":20741703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["image-builder","osbuild-composer"],"created_at":"2025-03-29T16:30:44.403Z","updated_at":"2025-03-29T16:31:19.834Z","avatar_url":"https://github.com/thozza.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demos of files and directories customization in Image Builder\n\nThis repository contains various demos of files and directories customization use cases in Image Builder.\n\nFor now, files and directories customizations are supported only on-premise. Missing functionality is tracked in the following issues:\n\n- Support in the Service - https://issues.redhat.com/browse/HMS-1398\n- Support in the cockpit-composer - https://issues.redhat.com/browse/COMPOSER-1909\n\n## Prerequisites\n\nInstall and enable image builder on-premise.\n\n```bash\nsudo dnf install -y osbuild-composer osbuild-composer-cli\n\n# On Fedora, one needs to configure the RHEL-9 repos to be able to build RHEL-9 images (officially not supported)\n# Copy the RHEL-9 repo file from the upstream repository.\nsudo mkdir -p /etc/osbuild-composer/repositories\nsudo curl https://raw.githubusercontent.com/osbuild/osbuild-composer/main/repositories/rhel-9.json -o /etc/osbuild-composer/repositories/rhel-9.json\n\n# start and enable osbuild-composer\nsudo systemctl enable --now osbuild-composer.socket\n```\n\n## Demos\n\n- [Custom configuration](00-demo-custom-configs/)\n- [Custom service](01-demo-custom-service/)\n- [Image with SAP-specific configuration](02-demo-sap/)\n- [Execute a remote Ansible playbook on first boot (via ansible-pull)](03-demo-first-boot-ansible-pull/)\n- [Execute a remote Ansible playbook on first boot (via script and ansible-playbook)](04-demo-first-boot-script-ansible-playbook/)\n\n## Additional resources\n\n- [Ondrej Budai's blog post about attaching additinal disk using custom first-boot service](https://budai.cz/posts/2023-07-18-first-boot-automation-in-image-builder/)\n- [Files and directories customization documentation](https://www.osbuild.org/guides/image-builder-on-premises/blueprint-reference.html#files-and-directories)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthozza%2Fib-custom-files-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthozza%2Fib-custom-files-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthozza%2Fib-custom-files-demo/lists"}