VirtualBox

Changeset 55959 in vbox for trunk


Ignore:
Timestamp:
May 20, 2015 12:39:17 AM (10 years ago)
Author:
vboxsync
Message:

Started updating the guestcontrol docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_VBoxManage.xml

    r55867 r55959  
    28152815        <glossentry>
    28162816          <glossterm><computeroutput>hwvirtexclusive</computeroutput></glossterm>
    2817           <para>This specifies whether VirtualBox will make exclusive use of
     2817          <glossdef><para>This specifies whether VirtualBox will make exclusive use of
    28182818          the hardware virtualization extensions (Intel VT-x or AMD-V) of the
    28192819          host system's processor; see <xref linkend="hwvirt" />. If you wish to
    28202820          share these extensions with other hypervisors running at the same time,
    28212821          you must disable this setting. Doing so has negative performance implications.
    2822           </para>
     2822          </para></glossdef>
    28232823        </glossentry>
    28242824
     
    30683068    linkend="guestadd-guestcontrol" /> for an introduction.</para>
    30693069
    3070     <para>Generally, the syntax is as follows:</para>
    3071 
    3072     <screen>VBoxManage guestcontrol &lt;uuid|vmname&gt; &lt;command&gt;</screen>
    3073 
    3074     <para>The following subcommands are available (where
    3075     <computeroutput>&lt;uuid|vmname&gt;</computeroutput>, in each case, can either be a
    3076     VM name or a VM UUID, as with the other VBoxManage commands):<itemizedlist>
    3077         <listitem>
    3078           <para><emphasis role="bold"><computeroutput>execute</computeroutput></emphasis>,
    3079           which allows for
    3080           executing a program/script (process) which already is installed and
    3081           runnable on the guest. This command only works while a VM is up and
    3082           running and has the following syntax:</para>
    3083 
    3084           <screen>VBoxManage guestcontrol &lt;uuid|vmname&gt; exec[ute]
    3085             --image &lt;path to program&gt; --username &lt;name&gt;
    3086             [--passwordfile &lt;file&gt; | --password &lt;password&gt;]
    3087             [--environment "&lt;NAME&gt;=&lt;VALUE&gt; [&lt;NAME&gt;=&lt;VALUE&gt;]"]
    3088             [--verbose] [--timeout &lt;msec&gt;]
    3089             [--wait-exit] [--wait-stdout] [--wait-stderr]
     3070    <para>There are two sets of subcommands here.  The first set requires guest
     3071      credentials to be specified, the second set does not.</para>
     3072
     3073    <para>The first set of subcommands are on the following form:</para>
     3074
     3075    <screen>VBoxManage guestcontrol &lt;uuid|vmname&gt; &lt;sub-command&gt;
     3076            [-v|--verbose] [-q|quiet] [--username &lt;name&gt;] [--domain &lt;domain&gt; ]
     3077            [--passwordfile &lt;file&gt; | --password &lt;password&gt;] ...
     3078    </screen>
     3079
     3080    <para>and the second set are on the following form:</para>
     3081
     3082    <screen>VBoxManage guestcontrol &lt;uuid|vmname&gt; &lt;sub-command&gt;
     3083            [-v|--verbose] [-q|quiet] ...
     3084    </screen>
     3085
     3086    <para>where the common parameters are:
     3087      <glosslist>
     3088        <glossentry>
     3089          <glossterm><computeroutput>uuid|vmname</computeroutput></glossterm>
     3090          <glossdef><para>The VM UUID or VM name. Mandatory.</para></glossdef>
     3091        </glossentry>
     3092        <glossentry>
     3093          <glossterm><computeroutput>--username &lt;name&gt;</computeroutput></glossterm>
     3094          <glossdef><para>Name of the user the process should run under. This
     3095            user must exist on the guest OS. If not specified the host user
     3096            name is used.</para>
     3097          </glossdef>
     3098        </glossentry>
     3099        <glossentry>
     3100          <glossterm><computeroutput>--domain &lt;domain&gt;</computeroutput></glossterm>
     3101          <glossdef><para>User domain for windows guests, optional.</para></glossdef>
     3102        </glossentry>
     3103        <glossentry>
     3104          <glossterm><computeroutput>--passwordfile &lt;file&gt;</computeroutput></glossterm>
     3105          <glossdef><para>Password of the specified user account to be read from
     3106            the given file. If not given, an empty password is assumed.</para></glossdef>
     3107        </glossentry>
     3108        <glossentry>
     3109          <glossterm><computeroutput>--password &lt;password&gt;</computeroutput></glossterm>
     3110          <glossdef><para>Password of the specified user account. If not given,
     3111            an empty password is assumed.</para></glossdef>
     3112        </glossentry>
     3113        <glossentry>
     3114          <glossterm><computeroutput>-v|--verbose</computeroutput></glossterm>
     3115          <glossdef><para>Makes the sub-command execution more noisy.</para></glossdef>
     3116        </glossentry>
     3117        <glossentry>
     3118          <glossterm><computeroutput>-q|--quiet</computeroutput></glossterm>
     3119          <glossdef><para>Makes the sub-command execution more quiet.</para></glossdef>
     3120        </glossentry>
     3121      </glosslist>
     3122    </para>
     3123
     3124    <para>The first set of subcommands:<itemizedlist>
     3125        <listitem>
     3126          <para><emphasis role="bold"><computeroutput>run</computeroutput></emphasis>,
     3127          allows you to execute a guest program waiting for it to complete and
     3128          forwarding stdout, stderr and stdin to/from the host.</para>
     3129
     3130          <screen>VBoxManage guestcontrol &lt;uuid|vmname&gt; run [common-options]
     3131            [--exe &lt;path to executable&gt;] [--timeout &lt;msec&gt;]
     3132            [-E|--putenv &lt;NAME&gt;[=&lt;VALUE&gt;]] [--unquoted-args]
     3133            [--ignore-operhaned-processes] [--no-profile]
     3134            [--no-wait-stdout|--wait-stdout]
     3135            [--no-wait-stderr|--wait-stderr]
    30903136            [--dos2unix] [--unix2dos]
    3091             -- [[&lt;argument1&gt;] ... [&lt;argumentN&gt;]]</screen>
    3092 
    3093           <para>where the parameters mean: <glosslist>
    3094               <glossentry>
    3095                 <glossterm><computeroutput>uuid|vmname</computeroutput></glossterm>
    3096 
    3097                 <glossdef>
    3098                   <para>The VM UUID or VM name. Mandatory.</para>
    3099                 </glossdef>
    3100               </glossentry>
    3101 
    3102               <glossentry>
    3103                 <glossterm><computeroutput>--image "&lt;path to program&gt;"</computeroutput></glossterm>
    3104 
    3105                 <glossdef>
    3106                   <para>Absolute path and process name of process to execute
     3137            -- &lt;program/arg0&gt; [argument1] ... [argumentN]]
     3138          </screen>
     3139
     3140          <para>where the options are: <glosslist>
     3141              <glossentry>
     3142                <glossterm><computeroutput>--exe "&lt;path to program&gt;"</computeroutput></glossterm>
     3143                <glossdef><para>Guest path to the guest executable that should be executed.
    31073144                  in the guest, e.g.
    31083145                  <computeroutput>C:\Windows\System32\calc.exe</computeroutput></para>
     
    31423179                <glossterm><computeroutput>--dos2unix</computeroutput></glossterm>
    31433180
    3144                 <glossdef>
     3181                <glossdef><para>
    31453182                  Converts output from DOS/Windows guests to UNIX-compatible
    3146                   line endings (CR + LF -> LF). Not implemented yet.
     3183                  line endings (CR + LF -> LF). Not implemented yet.</para>
    31473184                </glossdef>
    31483185              </glossentry>
     
    31873224                <glossterm><computeroutput>--unix2dos</computeroutput></glossterm>
    31883225
    3189                 <glossdef>
     3226                <glossdef><para>
    31903227                  Converts output from a UNIX/Linux guests to DOS-/Windows-compatible
    3191                   line endings (LF -> CR + LF). Not implemented yet.
    3192                 </glossdef>
     3228                  line endings (LF -> CR + LF). Not implemented yet.</para></glossdef>
    31933229              </glossentry>
    31943230
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette