[pve-devel] [PATCH] fix bug #701: blacklist nvidiafb

Wolfgang Link w.link at proxmox.com
Fri Sep 4 09:27:39 CEST 2015


---
 proxmox-ve/postinst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/proxmox-ve/postinst b/proxmox-ve/postinst
index be375d2..74dca77 100755
--- a/proxmox-ve/postinst
+++ b/proxmox-ve/postinst
@@ -20,6 +20,12 @@ case "$1" in
     echo -n "installing proxmox release key: "
     /usr/bin/apt-key add '/usr/share/doc/proxmox-ve/proxmox-release at proxmox.com.pubkey' || /bin/true
 
+    # set blacklist for modules
+    echo -n "set kernel modules blacklist: "
+    printf "#This file blacklist the muduled forbidden from proxmox! \n\n" > /etc/modprobe.d/pve-blacklist.conf
+    printf "#nidiafb see bugreport https://bugzilla.proxmox.com/show_bug.cgi?id=701 \n" >> /etc/modprobe.d/pve-blacklist.conf
+    printf "blacklist nvidiafb\n" >> /etc/modprobe.d/pve-blacklist.conf
+
     # There are three sub-cases:
     if test "${2+set}" != set; then
       # We're being installed by an ancient dpkg which doesn't remember
-- 
2.1.4





More information about the pve-devel mailing list