Skip to content

Instantly share code, notes, and snippets.

@singlecheeze
Last active May 5, 2023 20:49
Show Gist options
  • Save singlecheeze/0aa250fbd0da68209779a11695eca7c9 to your computer and use it in GitHub Desktop.
Save singlecheeze/0aa250fbd0da68209779a11695eca7c9 to your computer and use it in GitHub Desktop.
RH Image Builder via Web Console (Cockpit)

Great blog post here: https://www.redhat.com/sysadmin/intro-cockpit

sudo dnf install cockpit
sudo systemctl enable --now cockpit.socket
sudo firewall-cmd --add-service=cockpit --permanent
sudo firewall-cmd --reload

Now open a web browser and go to:: https://Computer IP:9090 image

*** Note: If needed, allow administrative access (It will prompt for password): image

Go to "Applications" and install Image Builder: image

*** Note: Once installed, the page will refresh and a new tab will be available on the left menu: image

Go there and create a new blueprint: image

Once blueprint item is created, select "Create Image" button in upper left: image

If uploading to vCenter, provide credentials: image

Set the destination for the VM: image

Set (optional) hostname: image

Add a user: image

*** Note: Don't forget to assign as an admin if you choose: image

Add packages if you would like: image

Review and save blueprint: image

Now click create button on same dialog after save completes:

*** Note: If you see repo related errors (After selecting "Logs" from the cockpit menu and setting log level to info): image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment