- Timestamp:
- Oct 21, 2019 5:47:42 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134138
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/SDKRef.xml
r81398 r81421 2657 2657 </listitem> 2658 2658 <listitem> 2659 <para>VirtualSystemDescriptionType::CloudPublicSSHKey - Public SSH key which is used to connect to an instance via SSH</para> 2659 <para>VirtualSystemDescriptionType::CloudPublicSSHKey - Public SSH key which is used to connect to an instance via SSH. 2660 It may be one or more records with the type VirtualSystemDescriptionType::CloudPublicSSHKey in the VirtualSystemDescription. 2661 But at least one should be presented otherwise user won't be able to connect to the instance via SSH. 2662 </para> 2660 2663 </listitem> 2661 2664 </itemizedlist> -
trunk/doc/manual/en_US/man_VBoxManage-cloudinstance.xml
r81398 r81421 49 49 <arg rep="norepeat">--publicip=<replaceable>true/false</replaceable></arg> 50 50 <arg rep="norepeat">--privateip=<replaceable>IP address</replaceable></arg> 51 <arg rep=" norepeat">--public-ssh-key=<replaceable>key string</replaceable></arg>51 <arg rep="repeat">--public-ssh-key=<replaceable>key string</replaceable></arg> 52 52 <arg rep="norepeat">--launch-mode=<replaceable>NATIVE/EMULATED/PARAVIRTUALIZED</replaceable></arg> 53 53 </cmdsynopsis> … … 148 148 </varlistentry> 149 149 <varlistentry> 150 <term><option>--public-ssh-key</option></term><listitem><para>Public SSH key used to connect to the instance via SSH</para></listitem> 150 <term><option>--public-ssh-key</option></term> 151 <listitem> 152 <para>Public SSH key used to connect to the instance via SSH. 153 This parameter may be repeated if you plan to use more than one key as: 154 "--public-ssh-key=firstSSHKey --public-ssh-key=secondSSHKey". 155 </para> 156 </listitem> 151 157 </varlistentry> 152 158 <varlistentry> -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageCloud.cpp
r81398 r81421 735 735 }; 736 736 737 size_t vsdHReadableArraySize = 9;//the number of items in the vsdHReadableArray 738 vsdHReadable vsdHReadableArray[9] = { 739 {VirtualSystemDescriptionType_CloudDomain, "Availability domain = '%ls'\n", "Availability domain wasn't found\n"}, 740 {VirtualSystemDescriptionType_Name, "Instance displayed name = '%ls'\n", "Instance displayed name wasn't found\n"}, 741 {VirtualSystemDescriptionType_CloudInstanceState, "Instance state = '%ls'\n", "Instance state wasn't found\n"}, 742 {VirtualSystemDescriptionType_CloudInstanceId, "Instance Id = '%ls'\n", "Instance Id wasn't found\n"}, 743 {VirtualSystemDescriptionType_CloudImageId, "Bootable image Id = '%ls'\n", 737 const size_t vsdHReadableArraySize = 12;//the number of items in the vsdHReadableArray 738 vsdHReadable vsdHReadableArray[vsdHReadableArraySize] = { 739 {VirtualSystemDescriptionType_CloudDomain, "Availability domain = %ls\n", "Availability domain wasn't found\n"}, 740 {VirtualSystemDescriptionType_Name, "Instance displayed name = %ls\n", "Instance displayed name wasn't found\n"}, 741 {VirtualSystemDescriptionType_CloudInstanceState, "Instance state = %ls\n", "Instance state wasn't found\n"}, 742 {VirtualSystemDescriptionType_CloudInstanceId, "Instance Id = %ls\n", "Instance Id wasn't found\n"}, 743 {VirtualSystemDescriptionType_CloudInstanceDisplayName, "Instance name = %ls\n", "Instance name wasn't found\n"}, 744 {VirtualSystemDescriptionType_CloudImageId, "Bootable image Id = %ls\n", 744 745 "Image Id whom the instance is booted up wasn't found\n"}, 745 {VirtualSystemDescriptionType_CloudInstanceShape, "Shape of the instance = '%ls'\n",746 {VirtualSystemDescriptionType_CloudInstanceShape, "Shape of the instance = %ls\n", 746 747 "The shape of the instance wasn't found\n"}, 747 {VirtualSystemDescriptionType_OS, "Type of guest OS = '%ls'\n", "Type of guest OS wasn't found.\n"}, 748 {VirtualSystemDescriptionType_Memory, "RAM = '%ls MB'\n", "Value for RAM wasn't found\n"}, 749 {VirtualSystemDescriptionType_CPU, "CPUs = '%ls'\n", "Numbers of CPUs weren't found\n"} 748 {VirtualSystemDescriptionType_OS, "Type of guest OS = %ls\n", "Type of guest OS wasn't found\n"}, 749 {VirtualSystemDescriptionType_Memory, "RAM = %ls MB\n", "Value for RAM wasn't found\n"}, 750 {VirtualSystemDescriptionType_CPU, "CPUs = %ls\n", "Numbers of CPUs weren't found\n"}, 751 {VirtualSystemDescriptionType_CloudPublicIP, "Instance public IP = %ls\n", "Public IP wasn't found\n"}, 752 {VirtualSystemDescriptionType_Miscellaneous, "%ls\n", "Free-form tags or metadata weren't found\n"} 750 753 }; 751 754 … … 767 770 LogRel((vsdHReadableArray[i].strNotFound.c_str())); 768 771 else 769 RTPrintf(vsdHReadableArray[i].strFound.c_str(), aVBoxValues[0]); 772 { 773 LogRel(("Size is %d", aVBoxValues.size())); 774 for (size_t j = 0; j<aVBoxValues.size(); ++j) 775 { 776 RTPrintf(vsdHReadableArray[i].strFound.c_str(), aVBoxValues[j]); 777 } 778 } 770 779 771 780 retTypes.setNull();
Note:
See TracChangeset
for help on using the changeset viewer.