{"id":528,"date":"2023-08-06T07:13:18","date_gmt":"2023-08-06T07:13:18","guid":{"rendered":"http:\/\/192.168.0.142\/?p=528"},"modified":"2023-08-10T07:06:56","modified_gmt":"2023-08-10T07:06:56","slug":"image-builder-installation-on-fedora-38","status":"publish","type":"post","link":"http:\/\/192.168.0.142\/image-builder-installation-on-fedora-38\/","title":{"rendered":"Image builder installation on Fedora 38"},"content":{"rendered":"\n
Image Builder is a tool that allows you to create custom Fedora OS images. You can use the command line or a Cockpit plugin to work with Image Builder.<\/p>\n\n\n\n
Install Image Builder using below command<\/strong><\/p>\n\n\n\n Enable osbuild-composer.socket<\/strong><\/p>\n\n\n\n To run the composer-cli commands as non-root, user must be in the weldr or root groups.<\/p>\n\n\n\n The newgrp command changes a user’s real group identification. When you run the command, the system places you in a new shell and changes the name of your real group to the group specified with the Group parameter<\/p>\n\n\n\n Blueprint manipulation<\/strong><\/p>\n\n\n\n \u00a0Composing images from blueprints<\/strong><\/p>\n\n\n\nsudo dnf install -y osbuild-composer composer-cli cockpit-composer<\/code><\/pre>\n\n\n\n
sudo systemctl enable --now osbuild-composer.socket<\/code><\/pre>\n\n\n\n
sudo usermod -a -G weldr $USER\nnewgrp weldr<\/code><\/pre>\n\n\n\n
List all available blueprints<\/td> composer-cli blueprints list<\/td><\/tr> Show a blueprint contents in the TOML format<\/td> composer-cli blueprints show BLUEPRINT-NAME<\/td><\/tr> Save (export) blueprint contents in the TOML format into a file BLUEPRINT-NAME.toml<\/td> composer-cli blueprints save BLUEPRINT-NAME<\/td><\/tr> Remove a blueprint<\/td> composer-cli blueprints delete BLUEPRINT-NAME<\/td><\/tr> Push (import) a blueprint file in the TOML format into Image Builder<\/td> composer-cli blueprints push BLUEPRINT-NAME.toml<\/td><\/tr> <\/td> <\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n