File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 7878config GUESTFS_FEDORA
7979 bool "Fedora (or derived distro)"
8080 output yaml
81+ select HAVE_CUSTOM_DISTRO_HOST_PREFIX
82+ select HAVE_DISTRO_PREFERS_CUSTOM_HOST_PREFIX
8183 select HAVE_DISTRO_XFS_PREFERS_MANUAL if FSTESTS_XFS
8284 select HAVE_DISTRO_BTRFS_PREFERS_MANUAL if FSTESTS_BTRFS
8385 select HAVE_DISTRO_EXT4_PREFERS_MANUAL if FSTESTS_EXT4
@@ -222,6 +224,13 @@ config GUESTFS_DEBIAN_COPY_HOST_SOURCES
222224
223225endif # GUESTFS_DEBIAN
224226
227+ config GUESTFS_FEDORA_BOX_SHORT
228+ string
229+ default "fedora41" if VIRT_BUILDER_OS_VERSION = "fedora-41"
230+ default "fedora40" if VIRT_BUILDER_OS_VERSION = "fedora-40"
231+ default "fedora39" if VIRT_BUILDER_OS_VERSION = "fedora-39"
232+ default "fedora"
233+
225234config VIRT_BUILDER_OS_VERSION
226235 string "virt-builder os-version"
227236 default "fedora-39" if GUESTFS_FEDORA
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ config HAVE_DISTRO_REQUIRES_CUSTOM_SSH_KEXALGORITHMS
2525config CUSTOM_DISTRO_HOST_PREFIX
2626 string
2727 depends on HAVE_CUSTOM_DISTRO_HOST_PREFIX
28+ default GUESTFS_FEDORA_BOX_SHORT if GUESTFS_FEDORA
2829 default GUESTFS_DEBIAN_BOX_SHORT if GUESTFS_DEBIAN
2930
3031config CUSTOM_SSH_KEXALGORITHMS
You can’t perform that action at this time.
0 commit comments