#!/usr/bin/python3 # # SPDX-License-Identifier: Apache-2.0 # """ This module contains a class named Lab and some supporting code. The Lab class represents a virtual lab and has a dictionary attribute VBOX containing information about the virtual machines in the lab. """ import getpass from sys import platform import os user = getpass.getuser() USERNAME = "sysadmin" if platform in ("win32", "win64"): LOGPATH = "C:\\Temp\\pybox_logs" else: homedir = os.environ["HOME"] LOGPATH = f"{homedir}/vbox_installer_logs"