Previous discussion was at https://chat.canonical.com/canonical/pl/1mgrhibwpj8ojxk89tbpztjdar. Due to the design of ubiquity, it only use ubuntu-driver to get package list and install package in 31ubuntu_driver_packages. But ubuntu-driver not only install packages but also create configurations of Nvidia GPU. This patch will copy configurations and calling prime-select to make sure it get same result as calling "ubuntu-driver install" directly.
Previous discussion was at https:/ /chat.canonical .com/canonical/ pl/1mgrhibwpj8o jxk89tbpztjdar. Due to the design of ubiquity, it only use ubuntu-driver to get package list and install package in 31ubuntu_ driver_ packages. But ubuntu-driver not only install packages but also create configurations of Nvidia GPU. This patch will copy configurations and calling prime-select to make sure it get same result as calling "ubuntu-driver install" directly.