add fedora43 and default credentials to osbuild

This commit is contained in:
2025-11-13 16:53:39 -05:00
parent b526901546
commit 621be95870
2 changed files with 102 additions and 2 deletions

View File

@@ -4,6 +4,12 @@ Builds Fedora/RHEL/Centos images like Packer but for Red Hat.
<https://osbuild.org/docs/user-guide/blueprint-reference/>
Default credentials for included images is:
username: `ducoterra`
password: `osbuild`
## Warning
From the [Red Hat
@@ -54,14 +60,23 @@ dnf install -y cockpit-composer
composer-cli compose start fedora-42-base qcow2
# Check status
composer-cli compose status
watch composer-cli compose status
# Download logs if error
cd /tmp && composer-cli compose logs f91a12b6-01fd-4f94-91cc-9d5fb68b8129
# Delete failed images
composer-cli compose list failed -j | jq '.[].body.failed.[]?.id' | xargs -I '%' composer-cli compose delete '%'
# Delete successful images
composer-cli compose list finished -j | jq '.[].body.finished.[]?.id' | xargs -I '%' composer-cli compose delete '%'
```
4. Run the image
```bash
# List your images
composer-cli compose list
composer-cli compose list finished
# Download the image
composer-cli compose image --filename /var/lib/libvirt/images/fedora-42-base.qcow2 image-uuid
@@ -69,3 +84,11 @@ dnf install -y cockpit-composer
# Test with qemu
qemu-kvm --name test-fedora-42-base -m 4096 -hda ~/Downloads/fedora-42-base.qcow2
```
### Image Build and Watch One Liner
```bash
composer-cli blueprints push active/software_osbuild/fedora-43-base.toml && \
composer-cli compose start fedora-43-base qcow2 && \
watch composer-cli compose status
```