On Mon, Aug 29, 2016 at 4:22 PM, Derek Mahar <derek.ma...@gmail.com> wrote:
> How might I fix the error that I encounter when, in a Cygwin bash shell, I
> run "vagrant up" in single-node or multi-node of
> https://github.com/coreos/coreos-kubernetes?
>
> dmahar@PC09 ~/vagrant/coreos/coreos-kubernetes/single-node
> $ vagrant up
> '.' is not recognized as an internal or external command,
> operable program or batch file.
> failed generating SSL CA artifacts

It seems to come from this line in the Vagrantfile:

system("mkdir -p ssl && ./../lib/init-ssl-ca ssl") or abort ("failed
generating SSL CA artifacts")

It could be Windows requesting the path separator "\" instead of "/".
I am not sure whether "system" is executing a cygwin shell or a
Windows command.

Does it work with the following?

system("C:\cygwin\bin\run.exe /bin/sh -c 'mkdir -p ssl &&
./../lib/init-ssl-ca ssl'") or abort ("failed generating SSL CA
artifacts")

Reply via email to