Changeset 43058 in vbox
- Timestamp:
- Aug 29, 2012 7:47:42 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80394
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/user_VBoxManage.xml
r42448 r43058 649 649 650 650 <listitem> 651 <para><computeroutput>--nicbootprio<1-N> 652 <priority></computeroutput>: This specifies the order in which 653 NICs are tried for booting over the network (using PXE). The 654 priority is an integer in the 0 to 4 range. Priority 1 is the 655 highest, priority 4 is low. Priority 0, which is the default unless 651 <para><computeroutput>--nicbootprio<1-N> 652 <priority></computeroutput>: This specifies the order in which 653 NICs are tried for booting over the network (using PXE). The 654 priority is an integer in the 0 to 4 range. Priority 1 is the 655 highest, priority 4 is low. Priority 0, which is the default unless 656 656 otherwise specified, is the lowest. 657 657 </para> … … 3127 3127 3128 3128 <screen>VBoxManage guestcontrol <vmname>|<uuid> updateadditions 3129 [--source "<guest additions .ISO file to use>"] [--verbose]</screen> 3129 [--source "<guest additions .ISO file to use>"] [--verbose] 3130 [--wait-start]</screen> 3130 3131 3131 3132 <para>where the parameters mean: <glosslist> … … 3153 3154 <glossdef> 3154 3155 <para>Tells VBoxManage to be more verbose.</para> 3156 </glossdef> 3157 </glossentry> 3158 3159 <glossentry> 3160 <glossterm>--wait-start</glossterm> 3161 <glossdef> 3162 <para>Starts the regular updating process and waits until the 3163 actual Guest Additions update inside the guest was started. 3164 This can be necessary due to needed interaction with the 3165 guest OS during the installation phase.</para> 3166 <para>When omitting this flag VBoxManage will wait for the 3167 whole Guest Additions update to complete.</para> 3155 3168 </glossdef> 3156 3169 </glossentry> -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
r43028 r43058 260 260 " updateadditions\n" 261 261 " [--source <guest additions .ISO>] [--verbose]\n" 262 " [--wait-start]\n" 262 263 "\n", pcszSep1, pcszSep2); 263 264 } … … 2530 2531 Utf8Str strSource; 2531 2532 bool fVerbose = false; 2533 bool fWaitStartOnly = false; 2532 2534 2533 2535 static const RTGETOPTDEF s_aOptions[] = 2534 2536 { 2535 2537 { "--source", 's', RTGETOPT_REQ_STRING }, 2536 { "--verbose", 'v', RTGETOPT_REQ_NOTHING } 2538 { "--verbose", 'v', RTGETOPT_REQ_NOTHING }, 2539 { "--wait-start", 'w', RTGETOPT_REQ_NOTHING } 2537 2540 }; 2538 2541 … … 2554 2557 case 'v': 2555 2558 fVerbose = true; 2559 break; 2560 2561 case 'w': 2562 fWaitStartOnly = true; 2556 2563 break; 2557 2564 … … 2592 2599 RTPrintf("Using source: %s\n", strSource.c_str()); 2593 2600 2601 com::SafeArray<AdditionsUpdateFlag_T> aUpdateFlags; 2602 if (fWaitStartOnly) 2603 { 2604 aUpdateFlags.push_back(AdditionsUpdateFlag_WaitForUpdateStartOnly); 2605 if (fVerbose) 2606 RTPrintf("Preparing and waiting for Guest Additions installer to start ...\n"); 2607 } 2608 2594 2609 ComPtr<IProgress> pProgress; 2595 2596 SafeArray<AdditionsUpdateFlag_T> updateFlags; /* No flags set. */2597 2610 CHECK_ERROR(guest, UpdateGuestAdditions(Bstr(strSource).raw(), 2598 2611 /* Wait for whole update process to complete. */ 2599 ComSafeArrayAsInParam( updateFlags),2612 ComSafeArrayAsInParam(aUpdateFlags), 2600 2613 pProgress.asOutParam())); 2601 2614 if (FAILED(rc)) -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r43041 r43058 8907 8907 </const> 8908 8908 <const name="WaitForUpdateStartOnly" value="1"> 8909 <desc>Only wait for the update process being started and do not 8910 wait while peforming the actual update.</desc> 8909 <desc>Starts the regular updating process and waits until the 8910 actual Guest Additions update inside the guest was started. 8911 This can be necessary due to needed interaction with the guest 8912 OS during the installation phase.</desc> 8911 8913 </const> 8912 8914 </enum>
Note:
See TracChangeset
for help on using the changeset viewer.