[PR #4] [MERGED] Alma #4

Closed
opened 2026-05-06 12:21:58 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/vyme-fr/vm-template/pull/4
Author: @BreizhHardware
Created: 2/24/2026
Status: Merged
Merged: 2/24/2026
Merged by: @savalet

Base: mainHead: alma


📝 Commits (2)

📊 Changes

3 files changed (+103 additions, -5 deletions)

View changed files

📝 build.sh (+58 -4)
📝 config.yml (+17 -1)
📝 files/00-motd.sh (+28 -0)

📄 Description

This pull request adds support for AlmaLinux to the VM image build scripts and configuration. The changes ensure AlmaLinux images can be built, customized, and display relevant information on login, similarly to existing support for Debian, Ubuntu, and Alpine. Key modifications include updates to dependency checks, configuration files, and custom scripts.

AlmaLinux support in build process and configuration:

  • Added AlmaLinux as a selectable OS option in the build script prompt and updated dependency checks to include libguestfs-tools alongside virt-customize. (build.sh) [1] [2]
  • Implemented AlmaLinux-specific logic in the build script to configure networking, DNS, package installation, and a firstboot systemd service for custom initialization. (build.sh) [1] [2]
  • Updated the configuration file to specify AlmaLinux packages for installation and customization commands, including disabling root login, configuring SSH, enabling the QEMU guest agent, and cleaning logs and package caches. (config.yml) [1] [2]
  • Added AlmaLinux-specific firstboot update commands to the configuration file. (config.yml)

User experience improvements:

  • Enhanced the login MOTD script to display AlmaLinux system information, such as distribution name, kernel version, memory usage, IP address, load average, and uptime, in a format consistent with other supported distributions. (files/00-motd.sh)

General improvements:

  • Improved the require function in the build script to optionally display additional information about missing dependencies. (build.sh)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vyme-fr/vm-template/pull/4 **Author:** [@BreizhHardware](https://github.com/BreizhHardware) **Created:** 2/24/2026 **Status:** ✅ Merged **Merged:** 2/24/2026 **Merged by:** [@savalet](https://github.com/savalet) **Base:** `main` ← **Head:** `alma` --- ### 📝 Commits (2) - [`e334446`](https://github.com/vyme-fr/vm-template/commit/e334446be8ccbbf384cfcde54cc60b1e36530298) Merge pull request #1 from vyme-fr/main - [`3fddfa6`](https://github.com/vyme-fr/vm-template/commit/3fddfa6b73d3c6ec272ca516cd6db3b9aa524f62) Add almalinux support ### 📊 Changes **3 files changed** (+103 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `build.sh` (+58 -4) 📝 `config.yml` (+17 -1) 📝 `files/00-motd.sh` (+28 -0) </details> ### 📄 Description This pull request adds support for AlmaLinux to the VM image build scripts and configuration. The changes ensure AlmaLinux images can be built, customized, and display relevant information on login, similarly to existing support for Debian, Ubuntu, and Alpine. Key modifications include updates to dependency checks, configuration files, and custom scripts. **AlmaLinux support in build process and configuration:** * Added AlmaLinux as a selectable OS option in the build script prompt and updated dependency checks to include `libguestfs-tools` alongside `virt-customize`. (`build.sh`) [[1]](diffhunk://#diff-4d2a8eefdf2a9783512a35da4dc7676a66404b6f3826a8af9aad038722da6823L27-R27) [[2]](diffhunk://#diff-4d2a8eefdf2a9783512a35da4dc7676a66404b6f3826a8af9aad038722da6823L38-R38) * Implemented AlmaLinux-specific logic in the build script to configure networking, DNS, package installation, and a firstboot systemd service for custom initialization. (`build.sh`) [[1]](diffhunk://#diff-4d2a8eefdf2a9783512a35da4dc7676a66404b6f3826a8af9aad038722da6823R153-R206) [[2]](diffhunk://#diff-4d2a8eefdf2a9783512a35da4dc7676a66404b6f3826a8af9aad038722da6823L161-R215) * Updated the configuration file to specify AlmaLinux packages for installation and customization commands, including disabling root login, configuring SSH, enabling the QEMU guest agent, and cleaning logs and package caches. (`config.yml`) [[1]](diffhunk://#diff-5a7db8dbadaef1b1b5a8738ba70b5ffac82b8e243732154165911284e08aad4bR29-R33) [[2]](diffhunk://#diff-5a7db8dbadaef1b1b5a8738ba70b5ffac82b8e243732154165911284e08aad4bR54-R62) * Added AlmaLinux-specific firstboot update commands to the configuration file. (`config.yml`) **User experience improvements:** * Enhanced the login MOTD script to display AlmaLinux system information, such as distribution name, kernel version, memory usage, IP address, load average, and uptime, in a format consistent with other supported distributions. (`files/00-motd.sh`) **General improvements:** * Improved the `require` function in the build script to optionally display additional information about missing dependencies. (`build.sh`) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:21:58 +02:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vyme-fr/vm-template#4
No description provided.