Skip to content

docs(os-install): build and serve the ubuntu 26.04 autoinstall iso - #124

Open
mgheorghe wants to merge 1 commit into
opiproject:mainfrom
mgheorghe:autoinstall-2604
Open

mgheorghe wants to merge 1 commit into
opiproject:mainfrom
mgheorghe:autoinstall-2604

Conversation

@mgheorghe

Copy link
Copy Markdown
Contributor

Updates the OS-install docs from Ubuntu 22.04 to 26.04.1 and makes them work on the current mgmt server.

  • Documentation/auto_install_ubuntu_iso.md: 26.04.1 ISO, file names and volume label; builds from the repo's
    sample ansible/iso_files/server folder; sets the password hash with a sed that copes with the $6$ characters.
  • ansible/iso_files/server/user-data: every key nested under autoinstall:, #cloud-config header, locale
    en_US.UTF-8, git-core PPA dropped. Before this, the installer ignored most of the file.
  • Documentation/hosting_files_on_webserver.md: mgmt no longer has Docker. Serve the files with
    busybox httpd bound to 172.22.0.1. It answers range requests (206), which BMC virtual media needs;
    python3 -m http.server does not.
  • Documentation/idrac_os_installation_steps_network.md and ansible/install_os.yml: point at
    ubuntu-26.04-autoinstall.iso.

Testing

Followed the doc step by step and installed the resulting ISO in a UEFI QEMU/KVM VM (OVMF, q35, blank 30 GB disk),
both ways:

Seed Install time Result
/cdrom/server/ on the ISO 4.5 min unattended; boots 26.04.1 (7.0.0-38), ssh and sudo as opi
http://<host>:8000/server/ (busybox) 5 min same; user-data and meta-data fetched with 200

Refs #69 (this covers the Ubuntu image; installing through ansible on Dell/HPE is still open there).

- auto_install_ubuntu_iso.md: Ubuntu 26.04.1 ISO, file names and volume label, use the repo's
  sample server folder, a password sed that works with the $6$ hash characters.
- user-data: nest every key under autoinstall, add the #cloud-config header, locale
  en_US.UTF-8, and drop the git-core PPA.
- hosting_files_on_webserver.md: mgmt has no Docker; serve the files with busybox httpd bound
  to 172.22.0.1, which supports the range requests the BMC virtual media needs.
- idrac_os_installation_steps_network.md and install_os.yml: ubuntu-26.04-autoinstall.iso.

Signed-off-by: Mircea Dan Gheorghe <mircea-dan.gheorghe@keysight.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant