On Monday, 29 August 2016 16:22:13 UTC-4, Derek Mahar wrote:
>
> dmahar@PC09 ~/vagrant/coreos/coreos-kubernetes/single-node
> $ ls -la
> total 44
> drwxr-xr-x+ 1 dmahar Utilisa. du domaine     0 Aug 29 16:18 .
> drwxr-xr-x+ 1 dmahar Utilisa. du domaine     0 Aug 29 15:56 ..
> -rw-r--r--  1 dmahar Utilisa. du domaine    14 Aug 29 15:56 .gitignore
> drwxr-xr-x+ 1 dmahar Utilisa. du domaine     0 Aug 29 16:18 .vagrant
> -rwxr-xr-x  1 dmahar Utilisa. du domaine   318 Aug 29 15:56 
> conformance-test.sh
> -rw-r--r--  1 dmahar Utilisa. du domaine   437 Aug 29 15:56 kubeconfig
> drwxr-xr-x+ 1 dmahar Utilisa. du domaine     0 Aug 29 16:18 -p
> -rw-r--r--  1 dmahar Utilisa. du domaine   297 Aug 29 15:56 README.md
> drwxr-xr-x+ 1 dmahar Utilisa. du domaine     0 Aug 29 16:18 ssl
> -rw-r--r--  1 dmahar Utilisa. du domaine 27395 Aug 29 15:56 user-data
> -rw-r--r--  1 dmahar Utilisa. du domaine  2310 Aug 29 15:56 Vagrantfile
>

Given the existence of directory "-p" after running "vagrant up", it 
appears that the Vagrantfile script fails when invoking the first of three 
Ruby system() calls or a subsequent config.vm.provision call

system("mkdir -p ssl && ./../lib/init-ssl-ca ssl") or abort ("failed 
generating SSL CA artifacts")
.
.
.
  config.vm.provision :shell, :inline => "mkdir -p /etc/kubernetes/ssl && 
tar -C /etc/kubernetes/ssl -xf /tmp/ssl.tar", :privileged => true

Cygwin mkdir does support "-p":

$ mkdir --help
Usage: mkdir [OPTION]... DIRECTORY...
Create the DIRECTORY(ies), if they do not already exist.

Mandatory arguments to long options are mandatory for short options too.
  -m, --mode=MODE   set file mode (as in chmod), not a=rwx - umask
  -p, --parents     no error if existing, make parent directories as needed
  -v, --verbose     print a message for each created directory
  -Z                   set SELinux security context of each created 
directory
                         to the default type
      --context[=CTX]  like -Z, or if CTX is specified then set the SELinux
                         or SMACK security context to CTX
      --help     display this help and exit
      --version  output version information and exit

GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Full documentation at: <http://www.gnu.org/software/coreutils/mkdir>
or available locally via: info '(coreutils) mkdir invocation'

Can anyone suggest a workaround?

Derek

Reply via email to