machine: report provider in system_info

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-02-08 17:44:57 -05:00
parent 8c7b93c6dd
commit 5325693ed6
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ class Machine:
if pclass is None:
raise config.error(f"Invalid Provider: {self.provider_type}")
self.sys_provider: BaseProvider = pclass(config)
self.system_info["provider"] = self.provider_type
logging.info(f"Using System Provider: {self.provider_type}")
self.validator = InstallValidator(config)
self.sudo_requests: List[Tuple[SudoCallback, str]] = []