-
Notifications
You must be signed in to change notification settings - Fork 23
yoga host image selinux #790
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
Changes from all commits
72c3017
920f01d
6c8460b
106d236
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ stackhpc_overcloud_dib_name: "deployment_image" | |
stackhpc_overcloud_dib_elements: | ||
- "{{ os_distribution }}-{% if os_distribution == 'rocky' %}container-stackhpc{% else %}minimal{% endif %}" | ||
- "cloud-init-datasources" | ||
- "{% if os_distribution in ['centos', 'rocky'] %}disable-selinux{% endif %}" | ||
- "{% if os_distribution == 'rocky' and os_release == '9' %}selinux-permissive{% elif os_distribution in ['centos', 'rocky'] %}disable-selinux{% endif %}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This part did work:
|
||
- "enable-serial-console" | ||
- "{% if kayobe_environment == 'ci-builder' %}etc-hosts{% endif %}" | ||
- "vm" | ||
|
@@ -55,11 +55,13 @@ stackhpc_overcloud_dib_env_vars: | |
# Avoid DNS queries during sudo commands, since we might not always have working DNS. | ||
DIB_SUDOERS_CONFIG: | | ||
Defaults !fqdn | ||
# FIXME: Support templating repo files. | ||
# DIB_YUM_MINIMAL_BOOTSTRAP_REPOS: /path/to/dir/containing/dib-mirror-*.repo | ||
# On Rocky Linux 9, use the host's repo files. | ||
# These will have been configured to point to Test Pulp repo snapshots during the 'host configure' step. | ||
# FIXME: This assumes we are building on RL9, which may not be the case. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On yoga we use the CS8 builder runners: https://github.com/stackhpc/stackhpc-kayobe-config/blob/stackhpc/yoga/.github/workflows/overcloud-host-image-build.yml#L42 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right - we could make it work for CS8 too, but thought I'd focus on the future :) |
||
YUM: dnf | ||
# Workaround for stack user home ownership bug | ||
DIB_IMAGE_CACHE: "/tmp/yum" | ||
DIB_CONTAINERFILE_BUILDOPTS: "--add-host pulp-server.internal.sms-cloud:10.205.3.187 --build-arg ROCKY_USE_MIRROR=true --build-arg ROCKY_APPSTREAM_URL={{ stackhpc_repo_rocky_9_appstream_url }} --build-arg ROCKY_BASEOS_URL={{ stackhpc_repo_rocky_9_baseos_url }} --build-arg ROCKY_CRB_URL={{ stackhpc_repo_rocky_9_crb_url }}" | ||
|
||
# StackHPC overcloud DIB image packages. | ||
stackhpc_overcloud_dib_packages: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pulled out this stuff into #1031