diff --git a/pkg/configurer/ubuntu/resolute.go b/pkg/configurer/ubuntu/resolute.go new file mode 100644 index 00000000..8b69a870 --- /dev/null +++ b/pkg/configurer/ubuntu/resolute.go @@ -0,0 +1,29 @@ +package ubuntu + +import ( + "github.com/k0sproject/rig" + "github.com/k0sproject/rig/os/registry" +) + +// ResoluteConfigurer is the Ubuntu Resolute Raccoon (26.04) specific host configurer implementation. +// +// NOTE: MCR has not published Docker EE packages for Ubuntu 26.04 as of +// 2026-09-02 (repos.mirantis.com/ubuntu/dists/ and +// repos-internal.mirantis.com/ubuntu/dists/ only have +// trusty/xenial/bionic/focal/jammy/noble - no resolute). InstallMCR will +// fail on this platform until MCR ships support; see PRODENG-3593 and the +// TestCuttingEdgeCluster smoke test. +type ResoluteConfigurer struct { + Configurer +} + +func init() { + registry.RegisterOSModule( + func(os rig.OSVersion) bool { + return os.ID == "ubuntu" && os.Version == "26.04" + }, + func() interface{} { + return ResoluteConfigurer{} + }, + ) +} diff --git a/pkg/product/mke/config/configurer_test.go b/pkg/product/mke/config/configurer_test.go index c0e6829b..2767f0aa 100644 --- a/pkg/product/mke/config/configurer_test.go +++ b/pkg/product/mke/config/configurer_test.go @@ -23,5 +23,6 @@ var ( _ HostConfigurer = ubuntu.FocalConfigurer{} _ HostConfigurer = ubuntu.JammyConfigurer{} _ HostConfigurer = ubuntu.NobleConfigurer{} + _ HostConfigurer = ubuntu.ResoluteConfigurer{} _ HostConfigurer = ubuntu.XenialConfigurer{} )