Changeset 76192 in vbox for trunk/src/VBox/Frontends/VBoxManage/VBoxManageAppliance.cpp
- Timestamp:
- Dec 12, 2018 6:15:04 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageAppliance.cpp
r75920 r76192 910 910 break; 911 911 912 913 case VirtualSystemDescriptionType_CloudOCIInstanceShape: 914 case VirtualSystemDescriptionType_CloudOCIDomain: 915 case VirtualSystemDescriptionType_CloudOCIBootDiskSize: 916 case VirtualSystemDescriptionType_CloudOCIBucket: 912 case VirtualSystemDescriptionType_CloudInstanceShape: 913 case VirtualSystemDescriptionType_CloudDomain: 914 case VirtualSystemDescriptionType_CloudBootDiskSize: 915 case VirtualSystemDescriptionType_CloudBucket: 917 916 case VirtualSystemDescriptionType_CloudOCIVCN: 918 case VirtualSystemDescriptionType_Cloud OCIPublicIP:919 case VirtualSystemDescriptionType_Cloud OCIProfileName:917 case VirtualSystemDescriptionType_CloudPublicIP: 918 case VirtualSystemDescriptionType_CloudProfileName: 920 919 case VirtualSystemDescriptionType_CloudOCISubnet: 921 case VirtualSystemDescriptionType_Cloud OCIKeepObject:922 case VirtualSystemDescriptionType_Cloud OCILaunchInstance:920 case VirtualSystemDescriptionType_CloudKeepObject: 921 case VirtualSystemDescriptionType_CloudLaunchInstance: 923 922 case VirtualSystemDescriptionType_Miscellaneous: 924 923 /** @todo VirtualSystemDescriptionType_Miscellaneous? */ 925 924 break; 925 926 926 case VirtualSystemDescriptionType_Ignore: 927 927 #ifdef VBOX_WITH_XPCOM_CPP_ENUM_HACK … … 1122 1122 case 'V': // --vmname 1123 1123 if (exportType == NOT_SET || ulCurVsys == (uint32_t)-1) 1124 return errorSyntax(USAGE_EXPORTAPPLIANCE, "Option \"%s\" requires preceding --vsys argument.", GetState.pDef->pszLong); 1124 return errorSyntax(USAGE_EXPORTAPPLIANCE, "Option \"%s\" requires preceding --vsys or --cloud argument.", 1125 GetState.pDef->pszLong); 1125 1126 mapArgsMapsPerVsys[ulCurVsys]["vmname"] = ValueUnion.psz; 1126 1127 break; … … 1413 1414 /* add cloud export settings */ 1414 1415 else if (itD->first == "cloudshape") 1415 pVSD->AddDescription(VirtualSystemDescriptionType_Cloud OCIInstanceShape,1416 pVSD->AddDescription(VirtualSystemDescriptionType_CloudInstanceShape, 1416 1417 Bstr(itD->second).raw(), 1417 1418 Bstr(itD->second).raw()); 1418 1419 else if (itD->first == "clouddomain") 1419 pVSD->AddDescription(VirtualSystemDescriptionType_Cloud OCIDomain,1420 pVSD->AddDescription(VirtualSystemDescriptionType_CloudDomain, 1420 1421 Bstr(itD->second).raw(), 1421 1422 Bstr(itD->second).raw()); 1422 1423 else if (itD->first == "clouddisksize") 1423 pVSD->AddDescription(VirtualSystemDescriptionType_Cloud OCIBootDiskSize,1424 pVSD->AddDescription(VirtualSystemDescriptionType_CloudBootDiskSize, 1424 1425 Bstr(itD->second).raw(), 1425 1426 Bstr(itD->second).raw()); 1426 1427 else if (itD->first == "cloudbucket") 1427 pVSD->AddDescription(VirtualSystemDescriptionType_Cloud OCIBucket,1428 pVSD->AddDescription(VirtualSystemDescriptionType_CloudBucket, 1428 1429 Bstr(itD->second).raw(), 1429 1430 Bstr(itD->second).raw()); … … 1433 1434 Bstr(itD->second).raw()); 1434 1435 else if (itD->first == "cloudpublicip") 1435 pVSD->AddDescription(VirtualSystemDescriptionType_Cloud OCIPublicIP,1436 pVSD->AddDescription(VirtualSystemDescriptionType_CloudPublicIP, 1436 1437 Bstr(itD->second).raw(), 1437 1438 Bstr(itD->second).raw()); 1438 1439 else if (itD->first == "cloudprofile") 1439 pVSD->AddDescription(VirtualSystemDescriptionType_Cloud OCIProfileName,1440 pVSD->AddDescription(VirtualSystemDescriptionType_CloudProfileName, 1440 1441 Bstr(itD->second).raw(), 1441 1442 Bstr(itD->second).raw()); … … 1445 1446 Bstr(itD->second).raw()); 1446 1447 else if (itD->first == "cloudkeepobject") 1447 pVSD->AddDescription(VirtualSystemDescriptionType_Cloud OCIKeepObject,1448 pVSD->AddDescription(VirtualSystemDescriptionType_CloudKeepObject, 1448 1449 Bstr(itD->second).raw(), 1449 1450 Bstr(itD->second).raw()); 1450 1451 else if (itD->first == "cloudlaunchinstance") 1451 pVSD->AddDescription(VirtualSystemDescriptionType_Cloud OCILaunchInstance,1452 pVSD->AddDescription(VirtualSystemDescriptionType_CloudLaunchInstance, 1452 1453 Bstr(itD->second).raw(), 1453 1454 Bstr(itD->second).raw());
Note:
See TracChangeset
for help on using the changeset viewer.