-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
C:\startup\enable_firewall.bat does not exist. #455
Comments
Update, fcking windows definder removed jmx.exe, will recover and build again to check. |
Update, still not work. uploading these scripts is actually failed. I didn't find them in VM. My local build box is also small than the cloud pre-build box. Anyway, I give it up because I really can't understand how windows powershell and those virtul-machine works.
|
Closing for now. Some notes:
|
Issue Description
Please check the General Issues section in the wiki before you submit the issue.
If you didn't find your issue mentioned, please give a thorough description of the issue you're seeing.
Also, please be sure to include any troubleshooting steps that you've already attempted.
Host System
Command Output
Hi, I chose to manually build and got the successfully message.
After vagrant up win2k8, everything worked fine utill the final execute script stage.
The error is simple:
==> win2k8: Running provisioner: shell... win2k8: Running: inline PowerShell script win2k8: C:\startup\enable_firewall.bat : The term 'C:\startup\enable_firewall.bat' is win2k8: not recognized as the name of a cmdlet, function, script file, or operable win2k8: program. Check the spelling of the name, or if a path was included, verify win2k8: that the path is correct and try again. win2k8: At C:\tmp\vagrant-shell.ps1:1 char:1 win2k8: + C:\startup\enable_firewall.bat win2k8: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ win2k8: + CategoryInfo : ObjectNotFound: (C:\startup\enable_firewall.bat: win2k8: String) [], CommandNotFoundException win2k8: + FullyQualifiedErrorId : CommandNotFoundException
Same thing goes for every script list in vegrantfile, I delete them to make it easier to read.
I have checked in VM, in C:\Startup I didn't have these scripts, I only have startup it self as a script,
@echo off ping -n 1 -4 172.28.128.3 | find /i "TTL=" > nul IF ERRORLEVEL 1 (echo "Linux host not availabe.") ELSE ( cmdkey /add:172.28.128.3 /user:chewbacca /pass:rwaaaaawr5 net use w: \\172.28.128.3\public /savecred /p:yes )
Please help to determine which stage make this happen. Maybe build stage loose something?
PS:
I have seen the known issue WIki, I can't use the preferred vagrant version due to it only support Virtualbox 5.x which can't open in windows10( not sure the reason, I just choice 6.x to make life easier).
Just a reminder: I base in China, so in build stage I interrupt the auto install ssh script, manually set LAN proxy and download the ssh installer, the version is exact 7.1 as the auto script print. after install it the build stage goes on, it said something like ssh connected.
The text was updated successfully, but these errors were encountered: