Skip to content

guestfs: custom image + mirroring sources.list heuristic

Luis Chamberlain kdevops 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10guestfs: move debian options before image nameskconfigs/Kconfig.guestfs+8 -80 replies
2/10guestfs: modify grub prompt before first bring upscripts/bringup_guestfs.sh+2 -00 replies
3/10guestfs: set default root passwordscripts/bringup_guestfs.sh+1 -00 replies
4/10guestfs: check for virt-builder failurescripts/bringup_guestfs.sh+4 -00 replies
5/10guestfs: add initial debian trixie support with custom URLskconfigs/Kconfig.defaults kconfigs/Kconfig.distro kconfigs/Kconfig.guestfs +2 more+259 -26 replies
6/10guestfs: add support to infer host distro mirrororing optimizationskconfigs/Kconfig.distro kconfigs/Kconfig.guestfs scripts/bringup_guestfs.sh +1 more+103 -00 replies
7/10guestfs: move rhel activation to its own helperscripts/bringup_guestfs.sh+19 -90 replies
8/10guestfs: move copying yum repo to its own routinescripts/bringup_guestfs.sh+8 -30 replies
9/10guestfs: move pre-install customizations to its own routinescripts/bringup_guestfs.sh+13 -90 replies
10/10guestfs: move debian pre-install hacks to its own routinescripts/bringup_guestfs.sh+14 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] guestfs: custom image + mirroring sources.list heuristic

A lot of these patches are just cleanups, but there are two patches which took a bit more time and thought, and that is why I am posting them. The two patches you should certainly review are:

5) guestfs: add initial debian trixie support with custom URLs
6) guestfs: add support to infer host distro mirrororing optimizations

5) adds initial trixie support, but more importantly it makes is super easy for those of you stuck in vagrant world because you have no virt-builder index yet available for you. This should get you unstuck and let you start testing guestfs. Sadly, the debian trixie image doesn't work yet, but there is enough effort here that I hope we can figure it out eventually. The *real* meat and bones of that patch is the way to deal with custom local kdevops sources and indexes for virt-builder in a way that allows us to grow. As hackers we want bleeding edge, and so this let's us get as close to as bleeding edge as we can.

6) is just an optimization, if your host is already using mirror we should simply adopt mirroring for packages on the guest too. This should speed up guest bring up considerably and best of all, it should be automatic.

Luis Chamberlain (10):
guestfs: move debian options before image names
guestfs: modify grub prompt before first bring up
guestfs: set default root password
guestfs: check for virt-builder failure
guestfs: add initial debian trixie support with custom URLs
guestfs: add support to infer host distro mirrororing optimizations
guestfs: move rhel activation to its own helper
guestfs: move copying yum repo to its own routine
guestfs: move pre-install customizations to its own routine
guestfs: move debian pre-install hacks to its own routine

 kconfigs/Kconfig.defaults                   |   4 +
 kconfigs/Kconfig.distro                     |  16 ++
 kconfigs/Kconfig.guestfs                    | 155 ++++++++++++-
 scripts/bringup_guestfs.sh                  | 228 +++++++++++++++++---
 scripts/get-distro-has-hop-count-sources.sh |  39 ++++
 scripts/os-debian-version.sh                |  19 ++
 6 files changed, 426 insertions(+), 35 deletions(-)
 create mode 100755 scripts/get-distro-has-hop-count-sources.sh
 create mode 100755 scripts/os-debian-version.sh
Signature · 1 line
2.43.0