wsl: require restart when changing 'wsl.obtain.windows.host.ip.alternatively' registry (IJ-CR-7824)

Because WSLDistribution.myHostIp is NullableLazyValue and it's final.

GitOrigin-RevId: 72bd8d71ffc7b5e3b36f0e8381eb746685562d73
This commit is contained in:
Sergey Simonchik
2021-03-31 21:30:38 +00:00
committed by intellij-monorepo-bot
parent 1cc1b9776c
commit bcd88e26f8
@@ -119,7 +119,7 @@
<applicationService serviceInterface="com.intellij.execution.wsl.WslDistributionManager"
serviceImplementation="com.intellij.execution.wsl.WslDistributionManagerImpl"/>
<executionTargetType implementation="com.intellij.execution.wsl.target.WslTargetType"/>
<registryKey key="wsl.obtain.windows.host.ip.alternatively" os="windows" defaultValue="false"
<registryKey key="wsl.obtain.windows.host.ip.alternatively" os="windows" defaultValue="false" restartRequired="true"
description="Obtain Windows host machine IP alternatively (not using the recommended 'cat /etc/resolv.conf | grep nameserver')."/>
<virtualFileSystem implementationClass="com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl" key="file" physical="true"/>