Move back to os_distro Ubuntu (#27)

This commit is contained in:
John Garbutt 2023-11-15 13:10:26 +00:00 committed by GitHub
parent c17b9ae6f7
commit b5c5c0d3a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View File

@ -59,7 +59,7 @@ class Driver(driver.Driver):
"server_type": "vm",
# NOTE(johngarbutt) we don't depend on a specific OS,
# we depend on kubeadm images with cloud-init
"os": "capi-kubeadm-cloudinit",
"os": "ubuntu",
"coe": "kubernetes",
},
]

View File

@ -51,7 +51,7 @@ class ClusterAPIDriverTest(base.DbTestCase):
[
{
"server_type": "vm",
"os": "capi-kubeadm-cloudinit",
"os": "ubuntu",
"coe": "kubernetes",
}
],

View File

@ -18,7 +18,5 @@ from magnum_capi_helm.tests import base
class TestMagnumDriverLoads(base.TestCase):
def test_get_driver(self):
cluster_driver = common.Driver.get_driver(
"vm", "capi-kubeadm-cloudinit", "kubernetes"
)
cluster_driver = common.Driver.get_driver("vm", "ubuntu", "kubernetes")
self.assertIsInstance(cluster_driver, driver.Driver)