Changeset 44131 in vbox
- Timestamp:
- Dec 14, 2012 10:32:23 AM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r43655 r44131 506 506 " [--device <number>]\n" 507 507 " [--type dvddrive|hdd|fdd]\n" 508 " [--medium none|emptydrive| \n"508 " [--medium none|emptydrive|additions|\n" 509 509 " <uuid>|<filename>|host:<drive>|iscsi]\n" 510 510 " [--mtype normal|writethrough|immutable|shareable|\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
r44028 r44131 102 102 Bstr bstrPassword; 103 103 Bstr bstrInitiator; 104 Bstr bstrIso; 105 Utf8Str strIso; 104 106 bool fIntNet = false; 105 107 … … 139 141 } 140 142 141 case 'm': // medium <none|emptydrive| uuid|filename|host:<drive>|iSCSI>143 case 'm': // medium <none|emptydrive|additions|uuid|filename|host:<drive>|iSCSI> 142 144 { 143 145 if (ValueUnion.psz) … … 483 485 if (pszMedium) 484 486 { 487 if (!RTStrICmp(pszMedium, "additions")) 488 { 489 ComPtr<ISystemProperties> pProperties; 490 CHECK_ERROR(a->virtualBox, 491 COMGETTER(SystemProperties)(pProperties.asOutParam())); 492 CHECK_ERROR(pProperties, COMGETTER(DefaultAdditionsISO)(bstrIso.asOutParam())); 493 strIso = Utf8Str(bstrIso); 494 pszMedium = strIso.c_str(); 495 if (devTypeRequested == DeviceType_Null) 496 devTypeRequested = DeviceType_DVD; 497 } 485 498 ComPtr<IMedium> pExistingMedium; 486 499 rc = openMedium(a, pszMedium, deviceType,
Note:
See TracChangeset
for help on using the changeset viewer.