Changeset 72919 in vbox for trunk/src/VBox/Frontends/VBoxShell
- Timestamp:
- Jul 5, 2018 2:44:31 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123468
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r71179 r72919 962 962 if mach == None: 963 963 return 0 964 vmos = ctx['vb'].getGuestOSType(mach.OSTypeId) 964 try: 965 vmos = ctx['vb'].getGuestOSType(mach.OSTypeId) 966 except: 967 vmos = None 965 968 print(" One can use setvar <mach> <var> <value> to change variable, using name in [].") 966 969 print(" Name [name]: %s" % (colVm(ctx, mach.name))) 967 970 print(" Description [description]: %s" % (mach.description)) 968 971 print(" ID [n/a]: %s" % (mach.id)) 969 print(" OS Type [via OSTypeId]: %s" % (vmos.description ))972 print(" OS Type [via OSTypeId]: %s" % (vmos.description if vmos is not None else mach.OSTypeId)) 970 973 print(" Firmware [firmwareType]: %s (%s)" % (asEnumElem(ctx, "FirmwareType", mach.firmwareType), mach.firmwareType)) 971 974 print()
Note:
See TracChangeset
for help on using the changeset viewer.