diff --git a/subiquity/server/controllers/filesystem.py b/subiquity/server/controllers/filesystem.py index 5257728f..8a6fb810 100644 --- a/subiquity/server/controllers/filesystem.py +++ b/subiquity/server/controllers/filesystem.py @@ -846,7 +846,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'} + probe_types = {'blockdev', 'filesystem'} 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 f9d151e5..aea44c72 100644 --- a/subiquity/server/controllers/tests/test_filesystem.py +++ b/subiquity/server/controllers/tests/test_filesystem.py @@ -72,7 +72,8 @@ class TestSubiquityControllerFilesystem(IsolatedAsyncioTestCase): async def test_probe_restricted(self): await self.fsc._probe_once(context=None, restricted=True) - self.app.prober.get_storage.assert_called_with({'blockdev'}) + expected = {'blockdev', 'filesystem'} + self.app.prober.get_storage.assert_called_with(expected) async def test_probe_os_prober_false(self): self.app.opts.use_os_prober = False