VirtualBox

Changeset 68213 in vbox


Ignore:
Timestamp:
Jul 31, 2017 9:51:48 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117312
Message:

VBoxManage install: Change --session-type default to 'none'.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/man_VBoxManage-unattended.xml

    r68187 r68213  
    187187            <para>The type of session to start when launching the installation.  This is the same as the <option>--type</option>
    188188              option for the <computeroutput>startvm</computeroutput> command, but we add <computeroutput>none</computeroutput>
    189               for indicating that the VM should not be started.  (default: <computeroutput>headless</computeroutput>)</para></listitem>
     189              for indicating that the VM should not be started.  (default: <computeroutput>none</computeroutput>)</para></listitem>
    190190        </varlistentry>
    191191      </variablelist>
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp

    r68194 r68213  
    13781378    ComPtr<IMachine>    ptrMachine;
    13791379    bool                fDryRun = false;
    1380     const char         *pszSessionType = "headless";
     1380    const char         *pszSessionType = "none";
    13811381
    13821382    /*
     
    14131413        // start vm related options:
    14141414        { "--session-type",                     'S', RTGETOPT_REQ_STRING },
     1415        /** @todo Add a --wait option too for waiting for the VM to shut down or
     1416         *        something like that...? */
    14151417    };
    14161418
     
    16921694    if (   fDryRun
    16931695        || RTStrICmp(pszSessionType, "none") == 0)
     1696    {
     1697        if (!fDryRun)
     1698            RTMsgInfo("VM '%ls' (%ls) is ready to be started (e.g. VBoxManage startvm).\n", bstrMachineName.raw(), bstrUuid.raw());
    16941699        hrc = S_OK;
     1700    }
    16951701    else
    16961702    {
     
    17111717        if (SUCCEEDED(hrc) && !ptrProgress.isNull())
    17121718        {
    1713             RTMsgInfo("Waiting for VM \"%s\" to power on...\n", Utf8Str(bstrUuid).c_str());
     1719            RTMsgInfo("Waiting for VM '%ls' to power on...\n", bstrMachineName.raw());
    17141720            CHECK_ERROR2(hrc, ptrProgress, WaitForCompletion(-1));
    17151721            if (SUCCEEDED(hrc))
     
    17261732                    {
    17271733                        if (SUCCEEDED(iRc))
    1728                             RTMsgInfo("VM \"%s\" has been successfully started.\n", Utf8Str(bstrUuid).c_str());
     1734                            RTMsgInfo("VM '%ls' (%ls) has been successfully started.\n", bstrMachineName.raw(), bstrUuid.raw());
    17291735                        else
    17301736                        {
Note: See TracChangeset for help on using the changeset viewer.

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