[SOLVED] Installing/adding extra packages to Proxmox AIS ISO image (FRR + configs) #4

hvisage

Renowned Member
May 21, 2013
279
26
93
Edit: xorisso solution

I have this "use case" where the PVEs will have a meshed networking setup, ie. the transit/host/production network not connected to a switch/LAN/L2 with DHCP/PXE server somewhere broadcast domain reachable, but only PtPlinks in the cluster and up to the routers (sometimes the PVE is a hop or 2 away from the upstream router, but the mesh have various routes)

The only "switched" network is the IPMI network, and in this case the SuperMicro X10DRT-PS (and the upgraded H12 versions etc.) have the IPMI in a *dedicated* fashion only, and NOT shared like some of the other systems with onboard 1GigE RJ45 network, these units only have AIOM/SIOM network modules, thus nothing to connect the IPMI/BMC dedicated port to the host's networking stack.

What is available on the IPMI side, where I do the OOB control, is the ability to push a Floppy 1.4MB image to the BMC (that being the Promox-ais labeled partition for the answers.toml file, and theoretically I could drop some small files and scripts there), and a CIFS/SMB mounted ISO image (which I've already modified for ProxMox automated Installation, and having used the PVE ISO to PXE image, I've also got a version modified/booting via PXE BUT in the greenfields, that would not be possible given the meshed networking setup)

So the question I have:

What do I need do/add/fix to have the automated installation install also FRR? I believe the postinstallation/at-boot scripts could do the configuration, but I need the FRR installed first.
I do notice the dists and proxmox directories with the .deb files but I need to also know which other files to edit to add the extra packages?
 
Last edited:
Hi,

What do I need do/add/fix to have the automated installation install also FRR? I believe the postinstallation/at-boot scripts could do the configuration, but I need the FRR installed first.
from a quick read, using the newly-introduced first-book hook script seems like the right way to accomplish this.

You can use ordering = "fully-up" and provide a script (either baking it into the ISO or fetching it via HTTP(S) from somewhere) which then simply runs apt to install the required packages for FRR and adding/modifying any configuration files as needed.
 
Hi Cheiss

from a quick read, using the newly-introduced first-book hook script seems like the right way to accomplish this.

You can use ordering = "fully-up" and provide a script (either baking it into the ISO or fetching it via HTTP(S) from somewhere) which then simply runs apt to install the required packages for FRR and adding/modifying any configuration files as needed.

I've gone and read through and looked/considered that earlier today, BUT before I haven't installed the FRR (or anything else IS-IS) and have the IGP running to get a default gateway, I don't have "internet access" to fetch/apt anything. That is the reason I need the FRR package to be baked into the ISO so I could use that hookscript to install and configure BEFORE networking

What I perhaps need to reiterate: the ISO is mounted on the IPMI network, that is "isolated" from the host, so the host is basically a device in a meshed network, with a CD rom and Floppy plugged in, that needs to be able to install and configure the IS-IS before it can talk anywhere. (I actually wished that the SDN stuff was installed by default, would've solved this problem I'm having)

Edit, logged: https://bugzilla.proxmox.com/show_bug.cgi?id=5952
 
Last edited:
Okay, the solution (after I've re-read Perl of Install.pm :) )
Bash:
rm added-proxmox-ve_8.3-1-auto-from-partition.iso
xorriso -indev proxmox-ve_8.3-1-auto-from-partition.iso -outdev added-proxmox-ve_8.3-1-auto-from-partition.iso  \
  -map /root/frr /proxmox/packages  \
  -boot_image any keep

Where /root/frr contains the Debian package files you want to install (with their dependencies if not already installed)
and proxmox-ve_8.3-1-auto-from-partition.iso is the ISO file after you've done the PVE auto install assistant stuff.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!