Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for VAGRANT_CWD (0.12 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantMachine.java

                execSpec.setExecutable("vagrant");
                File vagrantfile = extension.getVagrantfile();
                execSpec.setEnvironment(System.getenv()); // pass through env
                execSpec.environment("VAGRANT_CWD", vagrantfile.getParentFile().toString());
                execSpec.environment("VAGRANT_VAGRANTFILE", vagrantfile.getName());
                extension.getHostEnv().forEach(execSpec::environment);
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.5K bytes
    - Click Count (0)
  2. Vagrantfile

          create: true,
          owner: "vagrant"
      config.vm.synced_folder "#{Dir.home}/.gradle/wrapper", "/root/.gradle/wrapper",
          create: true,
          owner: "vagrant"
    
      # Expose project directory. Note that VAGRANT_CWD may not be the same as Dir.pwd
      PROJECT_DIR = ENV['VAGRANT_PROJECT_DIR'] || Dir.pwd
      config.vm.synced_folder PROJECT_DIR, '/project'
    
      'ubuntu-1604'.tap do |box|
        config.vm.define box, define_opts do |config|
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 17 17:41:23 GMT 2021
    - 14.9K bytes
    - Click Count (0)
Back to Top