Merge lp:~rcj/vmbuilder/jenkins_kvm into lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm

Proposed by Robert C Jennings on 2018-08-13
Status: Merged
Merged at revision: 807
Proposed branch: lp:~rcj/vmbuilder/jenkins_kvm
Merge into: lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm
Diff against target: 38 lines (+9/-1)
2 files modified
templates/img-azure-14.04-addin.tmpl (+1/-1)
templates/img-azure.tmpl (+8/-0)
To merge this branch: bzr merge lp:~rcj/vmbuilder/jenkins_kvm
Reviewer Review Type Date Requested Status
Francis Ginther 2018-08-13 Approve on 2018-08-14
Philip Roche 2018-08-13 Approve on 2018-08-13
Review via email: mp+352958@code.launchpad.net

Commit message

Azure: Blacklist nouveau driver

Eliminate conflicts with nVIDIA drivers for GPU instances using stock kernels

Description of the change

Azure: Blacklist nouveau driver

Eliminate conflicts with nVIDIA drivers for GPU instances using stock kernels

To post a comment you must log in.
Philip Roche (philroche) wrote :

LGTM

review: Approve
Francis Ginther (fginther) wrote :

Approve

review: Approve
lp:~rcj/vmbuilder/jenkins_kvm updated on 2018-08-14
807. By Robert C Jennings on 2018-08-14

Merge lp:~rcj/vmbuilder/jenkins_kvm into lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm [a=rcj] [r=fginther,philroche]

Azure: Blacklist nouveau driver

Eliminate conflicts with nVIDIA drivers for GPU instances using stock kernels

MP: https://code.launchpad.net/~rcj/vmbuilder/jenkins_kvm/+merge/352958

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'templates/img-azure-14.04-addin.tmpl'
2--- templates/img-azure-14.04-addin.tmpl 2015-06-08 15:57:31 +0000
3+++ templates/img-azure-14.04-addin.tmpl 2018-08-13 08:51:48 +0000
4@@ -19,7 +19,6 @@
5
6 # Do not wait on grub prompt
7 GRUB_TIMEOUT=0
8-
9 EOF
10
11 # Add in the client keep alive
12@@ -49,6 +48,7 @@
13
14 EOF
15
16+# Frame buffer fix
17 cat << EOF >> "${mp}/etc/initramfs-tools/modules"
18
19 # Need for slow boot times due to framebuffer
20
21=== modified file 'templates/img-azure.tmpl'
22--- templates/img-azure.tmpl 2018-07-25 18:59:22 +0000
23+++ templates/img-azure.tmpl 2018-08-13 08:51:48 +0000
24@@ -254,6 +254,14 @@
25 xchroot sed -i 's,SHELL=/bin/sh,SHELL=/bin/bash,g' /etc/default/useradd
26 xchroot sed -i "1i${CLOUD_IMG_STR}" /etc/default/useradd
27
28+# Blacklist nouveau driver
29+cat > "${mp}/etc/modprobe.d/blacklist-nouveau.conf" <<EOF
30+${CLOUD_IMG_STR}
31+# Eliminate conflicts with nVIDIA drivers for GPU instances using stock kernels
32+blacklist nouveau
33+options nouveau modeset=0
34+EOF
35+
36 # Reconfigure initramfs
37 debug "Reconfiguring initramfs"
38 xchroot update-initramfs -u -k all

Subscribers

People subscribed via source and target branches