Comment 4 for bug 1654696

Revision history for this message
Newton Liu (newtonl) wrote :

Another issue/comment (probably would be resolved by #1):

7. I am unable to disable the automatic upgrades during install time.

For instance, the kernel included with the 16.04.1 Desktop ISO is 4.4.0-31, while the latest in the Canonical repos (as of writing this comment) is 4.4.0-64. I've tried adding the following into my preseed file to try to prevent automatically upgrading the kernel during ubiquity install time:

 d-i netcfg/enable boolean false
 d-i pkgsel/update-policy select none
 d-i pkgsel/upgrade select none
 d-i base-installer/kernel/image string none
 d-i base-installer/install-recommends boolean false
 d-i mirror/http/proxy string
 d-i apt-setup/use_mirror boolean false
 d-i mirror/protocol string
 d-i ubiquity/download_updates boolean false
 ubiquity ubiquity/download_updates boolean false

If there is a network connection, then ubiquity will automatically go and update the kernel to the latest version. Worse yet, if there is a network connection, but to one that can't reach the Canonical repos, it will take an awful amount of time trying to download packages and timing out. This is the case in the factory, where systems will be connected only to a private network for PXE.

I want the initial state of a freshly installed system, whether it is installed with or without a network connection, to be deterministic.

(I realize the Automation Ubiquity wiki [https://wiki.ubuntu.com/UbiquityAutomation] says that pkgsel and netcfg doesn't work with ubiquity, but I was hopeful.)