Skip to content

steven-ellis/ephemeral-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ephemeral World Demo Scripts

This repository contains the setup guides and scripts for my presentation on Ephemeral environments using Image Builder and buildah.

This demo and talk have been validated against the following host operating systems. Please feel free to provide a pull request or raise an issue if you’ve validated this with any additional Linux flavours.

In line with the talks focus on ephemeral environments we’ll leverage cloud ready images for the OS that can be rapidly configured via Ansible to demo the key technologies.

If you don’t want to deploy your own environment Red Hat have a number of free to use lab and learining environments we’ll link too below.

Deploy and Confiure a simple VM as used for the demo

If you want to try some of the demo code and need a configured Linux host here are some initial steps

You should be able to connect to cockpit instance running on your demo VM on port 9090, eg

You can now

I’ve also supplied the public and private keys we’re using to SSH into the generated OS Images

Issues / Gotchas

Running out of space

The VM Images we’re running are relatively small from a storage perspective so there is a chance you’ll run out of scratch space if you attempt to create very large images.

RHEL 9 Beta

At present the default install of RHEL 9 Beta attempts to use the production RHEL 9 content repositories when building images. This issue is similar to the problem under.

Currently the issue can be resolved by running the following on your RHEL9 VM

mkdir -pv /etc/osbuild-composer/repositories

cp /usr/share/osbuild-composer/repositories/rhel-90.json /etc/osbuild-composer/repositories/rhel-90.json

cp -p /etc/osbuild-composer/repositories/rhel-90.json{,.bak}

sed -i -e 's|cdn.redhat.com/content/dist/rhel9|cdn.redhat.com/content/beta/rhel9|' \
/etc/osbuild-composer/repositories/rhel-90.json

systemctl restart [email protected] [email protected] osbuild-composer.service

Standards

All documentation will licenced under a Creative Commons Attribution-ShareAlike 4.0 International License, whilst code, including Ansible playbooks, will be under a GPL v3 licence.

CC BY-SA-4.0 Logo

All documentation will be treated like code and produced where possible in AsciiDoc.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published