Skip to content

Commit bd2713f

Browse files
committed
JBDS-4344 CDK Installation fails with older minishift os running
1 parent 016f458 commit bd2713f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

browser/model/cdk.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ class CDKInstall extends InstallableItem {
4848
return installer.exec(
4949
'net localgroup "Hyper-V Administrators" %USERDOMAIN%\\%USERNAME% /add'
5050
).catch(()=>Promise.resolve());
51+
}).then(()=> {
52+
return installer.exec(
53+
`${minishiftExe} stop`
54+
).catch(()=>Promise.resolve());
5155
}).then(()=> {
5256
return installer.exec(`${minishiftExe} setup-cdk --force --default-vm-driver=${driverName}`, this.createEnvironment());
5357
}).then(()=> {

0 commit comments

Comments
 (0)