File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed
etc/kayobe/inventory/group_vars/overcloud Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ jobs:
231
231
run : mv image-scan-output image-build-logs/image-scan-output
232
232
233
233
- name : Fail if no images have passed scanning
234
- run : if [ $(wc -l < image-build-logs/image-scan-output/clean -images.txt) -le 0 ]; then exit 1; fi
234
+ run : if [ $(wc -l < image-build-logs/image-scan-output/critical -images.txt) -gt 0 ]; then exit 1; fi
235
235
if : ${{ !inputs.push-dirty }}
236
236
237
237
- name : Copy clean images to push-attempt-images list
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ Installing Docker on Rocky:
70
70
.. code-block :: bash
71
71
72
72
sudo dnf install -y dnf-utils
73
- sudo dnf- config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
73
+ sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
74
74
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
75
75
76
76
Ensure Docker is running & enabled:
@@ -101,7 +101,7 @@ Build a Kayobe automation image:
101
101
git submodule update
102
102
# If running on Ubuntu, the fact cache can confuse Kayobe in the Rocky-based container
103
103
mv etc/kayobe/facts{,-old}
104
- sudo DOCKER_BUILDKIT=1 docker build --build-arg BASE_IMAGE=rockylinux:9 --file .automation/docker/kayobe/Dockerfile --tag kayobe:latest .
104
+ sudo DOCKER_BUILDKIT=1 docker build --network host -- build-arg BASE_IMAGE=rockylinux:9 --file .automation/docker/kayobe/Dockerfile --tag kayobe:latest .
105
105
106
106
Configuration
107
107
=============
Original file line number Diff line number Diff line change @@ -133,4 +133,10 @@ ubtu22cis_max_log_file_size: 1024
133
133
# ubtu22cis_bootloader_password_hash
134
134
ubtu22cis_rule_1_4_1: false
135
135
ubtu22cis_rule_1_4_3: false
136
+
137
+ # The way this is disabled currently breaks kolla's IPV6 check, see:
138
+ # https://bugs.launchpad.net/kolla-ansible/+bug/2071443
139
+ # Also matches RHEL hardening behavior.
140
+ ubtu22cis_ipv6_required: true
141
+
136
142
##############################################################################
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ IPV6 is no longer disabled by default in the Ubuntu CIS hardening. If
5
+ using the old behaviour you may hit `2071443
6
+ <https://bugs.launchpad.net/kolla-ansible/+bug/2071443>`.
7
+ upgrade :
8
+ - |
9
+ To match the new CIS benchmark defaults on Ubuntu, you should remove
10
+ the ``ipv6.disable=1`` kernel command line option. If you wish to carry
11
+ on with the current settings, change ``ubtu22cis_ipv6_required`` to
12
+ ``false``.
You can’t perform that action at this time.
0 commit comments