Public bug reported: As of version 18.5-61-gb76714c3-0ubuntu1, cloud-init includes an ubuntu_drivers module which detects drivers: nvidia: license-accept: true and uses this as a key for automatically installing the nvidia drivers packages via the `ubuntu-drivers install --gpgpu` command.
However, because the ubuntu-drivers command can also be invoked manually, the invocation of this command is NOT an indication to the system that the EULA has been accepted; and in non-interactive mode, this means the nvidia kernel module does not undergo final linking at install time. Therefore, in addition to (and prior to) calling ubuntu-drivers, we need the cloud-init module to set up latelink=true in the file /etc/default /linux-modules-nvidia on disk in order for this to work as intended. ** Affects: cloud-init (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840080 Title: cloud-init cc_ubuntu_drivers does not set up /etc/default/linux- modules-nvidia To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1840080/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs