[FR] Allow Subiquity not to execute unattended-upgrades
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
New
|
Undecided
|
Unassigned |
Bug Description
[Description]
A user may want to install Ubuntu Server and only rely on the package versions available at the installation media, and _not_ to use unattended-upgrades to get the latest package versions from the archives at the post-inst section of it.
The idea is to avoid the execution of:
subiquity/
Today, there is no way to prevent that execution from happening.
[Use Cases]
There are cases in which the installation of Ubuntu _needs_ to bear an exact package version in all deployments of a fleet, for instance. Not reaching out to the archives to update whatever is at a certain version guarantees this requirement.
[Workarounds]
None. As of now, u-u is executed regardless.
tags: | added: fr-2422 |
IMO the way to do this is by either pointing the installation at a mirror you control the contents of (the better option) or by disabling network during install (and re-enabling it in a late-command or whatever).
Simply disabling the uu run is not enough to achieve the stated goal as the kernel is in general installed from the configured archive. Also we configure unattended upgrades to run automatically, so without further effort the installed system will get the updates fairly soon after boot anyway.