Bug #35719

Ubuntu Autoinstall enable offline and online installation

Added by Bastian Schmidt 3 months ago. Updated about 1 month ago.

Host creation
Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


The userdata template preseed_autoinstall_cloud_init defines the installer configuration for a new Ubuntu host. This includes also an initial package manager setup which configures a repository for apt.
As of now, the URL is set statically. This leads to an error if the host cannot reach this URL during the initial installer setup. This is usually the case if a host is supposed to be deployed offline and should not have access to the Internet.

We need an option to enable offline installation for Ubuntu host deployment. This could be achieved by assigning a mirror dynamically.

Associated revisions

Revision 8498dedf (diff)
Added by Bastian Schmidt about 1 month ago

Fixes #35719 - Preseed Autoinstall auto updates

  • Disable installer auto-updates depending on 'activation
    key' and host param 'package_upgrade'
  • Add template description

Co-authored-by: Marcel K├╝hlhorn <>


#1 Updated by Bastian Schmidt 3 months ago

After further research, we found out:

Instead of assigning an URL for the offline installation, we can disable the auto-updates of the installer.
Moreover, in katello-supported EL finish templates, host upgrades are managed by the finish template. Therefore, no auto-update of the installer is necessary (see EL finish template:

However, I propose to differentiate between the following use cases:

- katello[y]?:
-- managed by finish script (disable corresponding components)
- katello[n]?:
-- use official repos
- disable corresponding components

#2 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request added

#3 Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases 3.6.0 added

#4 Updated by Bastian Schmidt about 1 month ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases 3.5.1 added

Also available in: Atom PDF