Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Ubuntu build hosts for image managment - Docker only #397

Open
1 task
cbbayburt opened this issue Dec 11, 2018 · 2 comments
Open
1 task

Support Ubuntu build hosts for image managment - Docker only #397

cbbayburt opened this issue Dec 11, 2018 · 2 comments
Labels
good first issue Good for newcomers hacktoberfest Ubuntu Ubuntu client support in Uyuni

Comments

@cbbayburt
Copy link
Contributor

One of the requirements for the initial Ubuntu support is to make image management working in Ubuntu build hosts.

Tasks

@cbbayburt cbbayburt added Ubuntu Ubuntu client support in Uyuni good first issue Good for newcomers labels Dec 11, 2018
@Shirocco88
Copy link
Contributor

Shirocco88 commented Aug 28, 2020

Hint: container_build_host Entitlement for Debian-9/10 and Ubuntu-16/18/20 is already enabled;

see https://github.com/uyuni-project/uyuni/blob/master/schema/spacewalk/common/data/rhnServerServerGroupArchCompat.sql#L761

insert into rhnServerServerGroupArchCompat ( server_arch_id, server_group_type)
    values (lookup_server_arch('amd64-debian-linux'),
            lookup_sg_type('container_build_host'));

@Shirocco88
Copy link
Contributor

Hint: at the moment there is OS-Blacklisting for container_build_host Entitlement in MinionServer.java#L134 aktiv.
==> all Ubuntu-/Debian releases are enabled.

https://github.com/uyuni-project/uyuni/blob/master/java/code/src/com/redhat/rhn/domain/server/MinionServer.java#L134
SNIP

     * Return <code>true</code> if OS on this system supports Containerization,
     * <code>false</code> otherwise.
     * <p>
     * Note: For SLES, we are only checking if it's not 10 nor 11.
     * Older than SLES 10 are not being checked.
     * </p>
     *
     * @return <code>true</code> if OS supports Containerization
     */
    @Override
    public boolean doesOsSupportsContainerization() {
        return !isSLES10() && !isSLES11();
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Ubuntu Ubuntu client support in Uyuni
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants