Changeset 67896 in vbox
- Timestamp:
- Jul 11, 2017 7:57:11 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116868
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r67879 r67896 1275 1275 const char *pszUser = NULL; 1276 1276 const char *pszPassword = NULL; 1277 const char *psz Group= NULL;1277 const char *pszFullUserName = NULL; 1278 1278 const char *pszProductKey = NULL; 1279 1279 const char *pszAdditionsIsoPath = NULL; … … 1297 1297 { "--user", 'u', RTGETOPT_REQ_STRING }, 1298 1298 { "--password", 'p', RTGETOPT_REQ_STRING }, 1299 { "-- group", 'g', RTGETOPT_REQ_STRING },1299 { "--full-user-name", 'U', RTGETOPT_REQ_STRING }, 1300 1300 { "--key", 'k', RTGETOPT_REQ_STRING }, 1301 1301 { "--install-additions", 'A', RTGETOPT_REQ_NOTHING }, … … 1338 1338 break; 1339 1339 1340 case ' g': // --group1341 psz Group= ValueUnion.psz;1340 case 'U': // --full-user-name 1341 pszFullUserName = ValueUnion.psz; 1342 1342 break; 1343 1343 … … 1450 1450 if (pszPassword) 1451 1451 CHECK_ERROR_BREAK(unAttended, COMSETTER(Password)(Bstr(pszPassword).raw())); 1452 if (psz Group)1453 CHECK_ERROR_BREAK(unAttended, COMSETTER( Group)(Bstr(pszGroup).raw()));1452 if (pszFullUserName) 1453 CHECK_ERROR_BREAK(unAttended, COMSETTER(FullUserName)(Bstr(pszFullUserName).raw())); 1454 1454 if (pszProductKey) 1455 1455 CHECK_ERROR_BREAK(unAttended, COMSETTER(ProductKey)(Bstr(pszProductKey).raw())); … … 1523 1523 * Retrieve and display the parameters actually used. 1524 1524 */ 1525 Bstr bstrGroup;1526 CHECK_ERROR_BREAK(unAttended, COMGETTER(Group)(bstrGroup.asOutParam()));1527 1525 Bstr bstrAdditionsIsoPath; 1528 1526 CHECK_ERROR_BREAK(unAttended, COMGETTER(AdditionsIsoPath)(bstrAdditionsIsoPath.asOutParam())); … … 1544 1542 " user: %ls\n" 1545 1543 " password: %ls\n" 1546 " group: %ls\n"1547 1544 " productKey: %ls\n" 1548 1545 " image index: %u\n" … … 1553 1550 bstrUser.raw(), 1554 1551 bstrPassword.raw(), 1555 bstrGroup.raw(),1556 1552 bstrProductKey.raw(), 1557 1553 idxImageActual, -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r67895 r67896 3767 3767 <interface 3768 3768 name="IUnattended" extends="$unknown" 3769 uuid=" 2fb5b9e2-2fe6-4e60-e066-862fbafb1e9f"3769 uuid="41d87758-ec4a-495a-670a-35d9b1dff2a8" 3770 3770 wsmap="managed" 3771 3771 reservedMethods="4" reservedAttributes="16" … … 3780 3780 </desc> 3781 3781 3782 <attribute name="group" type="wstring">3783 <desc>3784 A group this VM belongs to.3785 </desc>3786 </attribute>3787 3788 3782 <attribute name="isoPath" type="wstring"> 3789 3783 <desc> … … 3794 3788 <attribute name="user" type="wstring"> 3795 3789 <desc> 3796 Assign an user name.3790 Assign an user login name. 3797 3791 </desc> 3798 3792 </attribute> … … 3802 3796 Assign a password to the user. The password is the same for both 3803 3797 normal user and for Administrator / 'root' accounts. 3798 </desc> 3799 </attribute> 3800 3801 <attribute name="fullUserName" type="wstring"> 3802 <desc> 3803 The full name of the user. This is optional and defaults to 3804 <link to="IUnattended::user"/>. Please note that not all guests picks 3805 up this attribute. 3804 3806 </desc> 3805 3807 </attribute>
Note:
See TracChangeset
for help on using the changeset viewer.