diff --git a/subiquity/server/controllers/filesystem.py b/subiquity/server/controllers/filesystem.py index ed9d7cd3..f210267c 100644 --- a/subiquity/server/controllers/filesystem.py +++ b/subiquity/server/controllers/filesystem.py @@ -1270,7 +1270,7 @@ class FilesystemController(SubiquityController, FilesystemManipulator): @with_context(name="probe_once", description="restricted={restricted}") async def _probe_once(self, *, context, restricted): if restricted: - probe_types = {"blockdev", "filesystem"} + probe_types = {"blockdev", "filesystem", "nvme"} fname = "probe-data-restricted.json" key = "ProbeDataRestricted" else: diff --git a/subiquity/server/controllers/tests/test_filesystem.py b/subiquity/server/controllers/tests/test_filesystem.py index 82a74850..cc1522fc 100644 --- a/subiquity/server/controllers/tests/test_filesystem.py +++ b/subiquity/server/controllers/tests/test_filesystem.py @@ -108,7 +108,7 @@ class TestSubiquityControllerFilesystem(IsolatedAsyncioTestCase): async def test_probe_restricted(self): await self.fsc._probe_once(context=None, restricted=True) - expected = {"blockdev", "filesystem"} + expected = {"blockdev", "filesystem", "nvme"} self.app.prober.get_storage.assert_called_with(expected) async def test_probe_os_prober_false(self):