From f7c31d21931fad08b8cbdfb7743916195ee0937a Mon Sep 17 00:00:00 2001 From: Laura Hild Date: Fri, 13 Oct 2023 13:57:10 -0400 Subject: [PATCH] Fixes #36830 - transform_vars on preseed_path --- app/models/operatingsystems/debian.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/operatingsystems/debian.rb b/app/models/operatingsystems/debian.rb index efa6733c3f4..995e62cd4b1 100644 --- a/app/models/operatingsystems/debian.rb +++ b/app/models/operatingsystems/debian.rb @@ -16,7 +16,7 @@ def preseed_server(medium_provider) end def preseed_path(medium_provider) - medium_provider.medium_uri.select(:path, :query).compact.join('?') + medium_provider.medium_uri(&method(:transform_vars)).select(:path, :query).compact.join('?') end def boot_file_sources(medium_provider, &block)