diff --git a/src/edwh_multipass_plugin/tasks.py b/src/edwh_multipass_plugin/tasks.py index 57d6e6b..e7e11aa 100644 --- a/src/edwh_multipass_plugin/tasks.py +++ b/src/edwh_multipass_plugin/tasks.py @@ -289,4 +289,10 @@ def list_mounts(c: Connection, machine: str = DEFAULT_MACHINE_NAME) -> None: config = _load_mp_config(c) mounts = get_mounts(config, machine) - print(mounts) + home = str(Path.home()) + cprint(f"Mounts for '{machine}':") + for source, target in mounts.items(): + if source.startswith(home): + source = source.replace(home, "~", 1) + + print(f" {source}: {target}")