OpenNebula / minione

Easy to use deployment tool for an OpenNebula evaluation environment
Apache License 2.0
173 stars 54 forks source link

Add /etc/apt/keyrings if not exist #124

Closed Skinoz closed 4 months ago

Skinoz commented 4 months ago

Description:

This pull request enhances the configuration script for MiniOne repositories by adding a check and creation of the /etc/apt/keyrings directory on Debian systems. The modification ensures that the required directory is present before configuring repositories, preventing potential issues during the process.

In addition, this update aligns with the best practices demonstrated in the Docker installation example for Debian: Docker Debian Installation Guide.

Changes:

Added a check for the existence of /etc/apt/keyrings on Debian systems.
If the directory is not present, the script now creates it using install -m 0755 -d /etc/apt/keyrings.
xorel commented 4 months ago

Thank you!