Ubuntu-22.04

2022-04-20 Diskussionsfäden Stefan Möding
Hi, I updated my current FAI setup to install the recently released Ubuntu-22.04 with it. Ubuntu-22.04 now uses the zstd(1) compression program for packages. FAI can't install these packages out of the box because debootstrap on Debian-11 doesn't know about this compression format. Here are the

Re: Setting up third party apt repositories

2021-03-31 Diskussionsfäden Stefan Möding
Matthew Pounsett writes: > I don't expect this to work with the above setup, because scripts are > run after packages are added. I was referring to the fcopy command in the task_repository function from FAI. So it is done very early when all the repository configuration is done. I'm actually us

Re: Setting up third party apt repositories

2021-03-30 Diskussionsfäden Stefan Möding
Matthew Pounsett writes: > Is there a "proper" way to do this? It seems like I've got a catch-22 > where in order to get indexes from https-based repositories I need to > already have some of the OS in place, but the required base packages > aren't installed yet when the "repository" and "update

Re: Some troubles with grub with buster point release 10.8

2021-02-10 Diskussionsfäden Stefan Möding
Thomas Lange writes: > Ooh, it seems more complicated. Your code does not work on a machine > with one SATA disk: > $ udevadm info -r --query=symlink /dev/sda > /dev/disk/by-id/wwn-0x5001517803d00e48 > /dev/disk/by-id/ata-INTEL_SSDSC2CW120A3_CVCV249103KG120BGN > /dev/disk/by-path/pci-:00:1f.

Re: Some troubles with grub with buster point release 10.8

2021-02-10 Diskussionsfäden Stefan Möding
Thomas Lange writes: > Thanks for the hint. It's now fixed. What about SCSI controllers? They are missed by the code as grep currently looks for "ata". Maybe like this: # udevadm info -r --query=symlink /dev/sda | sed -n 's;.*\(/dev/disk/by-id/\S\+\).*;\1;p' /dev/disk/by-id/scsi-0QEMU_QEMU_H

Re: Some troubles with grub with buster point release 10.8

2021-02-10 Diskussionsfäden Stefan Möding
Hi! Just starting to play with this... Too me it looks like the "grep" in mbrdevices=$($ROOTCMD udevadm info -r --query=symlink $BOOT_DEVICE | grep -Po '/dev/disk/by-id/ata\S+') will emit an exit status 1 if it does not find a match. This is propagated as the script error status (due to the t

Re: FAI with pre-release bullseye yielding inconsistent network names

2021-01-19 Diskussionsfäden Stefan Möding
fai1...@macrotex.net writes: > I am already using that patch. The problem seems to be that the altname > returned by "ip link show eth0" in 30-interface is "enp11s0" and hence > that is the filename what 30-network puts into /etc/network/interfaces.d, but > when the new system boots the name in /

Re: FAI with pre-release bullseye yielding inconsistent network names

2021-01-15 Diskussionsfäden Stefan Möding
fai1...@macrotex.net writes: > I do the initial FAI imaging using a buster NFS root and install buster in > /target. When I then run "chroot /target udevadm info /sys/class/net/eth0" > I see about 27 lines including a bunch of ID_NET_NAME_* values. > I do the above again, but this time with a bul

Re: Building a multi-OS install ISO image?

2020-12-15 Diskussionsfäden Stefan Möding
Thomas Lange writes: > > Isn’t rinse already doing the heavy lifting in donwloading all specified > > packages? Createrepo then creates the metadata for a directory full of > > existing RPMs: > rinse does no resolve dependencies. I’ve looked into this: there is a program "repotrack"

Re: Building a multi-OS install ISO image?

2020-11-28 Diskussionsfäden Stefan Möding
Hi! Thomas Lange writes: > I would call fai-mirror twice. First create a Debian mirror in > /tmp/mirror/debian, then an Ubuntu mirror /tmp/mirror/ubuntu. Later > call fai-cd -m /tmp/mirror. You have to adjust the sources.list (one > for Debian, one for Ubuntu) for the installation Ah, ok. I wi

Building a multi-OS install ISO image?

2020-11-27 Diskussionsfäden Stefan Möding
Hi! I have a FAI server running and can successfully install VMware virtual machines with different operating systems and releases. Now I'm looking into preparing a CD to do the same with real hardware. We have a network using many different VLANs and I can use the VMware API to create a VM in t