def _install_pkgs(self, instance, packages): with instance.remote() as r: cmd.install_packages(r, packages)