Skip to content

Commit 02a4873

Browse files
committed
fix: πŸ› Revisit term used for blocklisting nouveau
Revisit the file and other nomenclature used to adhere CNCF inclusive naming initiative
1 parent d88188e commit 02a4873

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

β€Žimages/capi/ansible/roles/gpu/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
---
1616
- name: Unload nouveau
1717
ansible.builtin.template:
18-
src: "etc/modprobe.d/blacklist-nouveau.conf"
19-
dest: "/etc/modprobe.d/blacklist-nouveau.conf"
18+
src: "etc/modprobe.d/blocklist-nouveau.conf"
19+
dest: "/etc/modprobe.d/blocklist-nouveau.conf"
2020
mode: "0644"
2121

2222
- name: Update initramfs

β€Žimages/capi/ansible/roles/gpu/templates/etc/modprobe.d/blacklist-nouveau.conf renamed to β€Žimages/capi/ansible/roles/gpu/templates/etc/modprobe.d/blocklist-nouveau.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# blacklist nouveau -- keeps it from being loaded
1+
#block nouveau it from being loaded by default by the kernel
22
blacklist nouveau
33
# options nouveau modeset=0 -- If the module is built into the kernel, then this disables it
44
# This is to more like future-proofing against future kernels

β€Žimages/capi/packer/goss/goss-files.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ file:
1717
{{end}}
1818
{{if or (eq .Vars.OS "ubuntu") (eq .Vars.OS "photon")}}
1919
{{if .Vars.node_custom_roles_pre | regexMatch ".*gpu.*"}}
20-
"/etc/modprobe.d/blacklist-nouveau.conf":
20+
"/etc/modprobe.d/blocklist-nouveau.conf":
2121
exists: true
2222
filetype: file
2323
contains:

0 commit comments

Comments
Β (0)