Changeset 84645 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Jun 2, 2020 5:21:10 PM (5 years ago)
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/UnattendedImpl.cpp
r84564 r84645 2213 2213 { 2214 2214 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 2215 aProxy = ""; /// @todo turn schema map into string or something.2215 aProxy = mStrProxy; /// @todo turn schema map into string or something. 2216 2216 return S_OK; 2217 2217 } … … 2228 2228 { 2229 2229 /* clear proxy config */ 2230 mStrProxy = ""; 2230 2231 } 2231 2232 else 2232 2233 { 2233 /* Parse and set proxy config into a schema map or something along those lines. */ 2234 return E_NOTIMPL; 2234 /** @todo Parse and set proxy config into a schema map or something along those lines. */ 2235 // return E_NOTIMPL; 2236 mStrProxy = aProxy; 2235 2237 } 2236 2238 return S_OK; … … 2545 2547 } 2546 2548 2549 Utf8Str const &Unattended::i_getProxy() const 2550 { 2551 Assert(isReadLockedOnCurrentThread()); 2552 return mStrProxy; 2553 } 2554 2547 2555 Utf8Str const &Unattended::i_getAdditionsIsoPath() const 2548 2556 { -
trunk/src/VBox/Main/src-server/UnattendedScript.cpp
r84564 r84645 418 418 else if (IS_PLACEHOLDER_MATCH("HOSTNAME_DOMAIN")) 419 419 rValue.assign(mpUnattended->i_getHostname(), mpUnattended->i_getHostname().find(".") + 1); 420 else if (IS_PLACEHOLDER_MATCH("PROXY")) 421 rValue = mpUnattended->i_getProxy(); 420 422 else 421 423 { … … 469 471 else if (IS_PLACEHOLDER_MATCH("IS_NOT_RTC_USING_UTC")) 470 472 *pfOutputting = !mpUnattended->i_isRtcUsingUtc(); 473 else if (IS_PLACEHOLDER_MATCH("HAS_PROXY")) 474 *pfOutputting = mpUnattended->i_getProxy().isNotEmpty(); 471 475 else 472 476 return mpSetError->setErrorBoth(E_FAIL, VERR_NOT_FOUND, mpSetError->tr("Unknown conditional placeholder '%.*s'"),
Note:
See TracChangeset
for help on using the changeset viewer.