Initial commit of local code
This commit is contained in:
		
							
								
								
									
										12
									
								
								.vagrant/rgloader/loader.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.vagrant/rgloader/loader.rb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
# Copyright (c) HashiCorp, Inc.
 | 
			
		||||
# SPDX-License-Identifier: BUSL-1.1
 | 
			
		||||
 | 
			
		||||
# This file loads the proper rgloader/loader.rb file that comes packaged
 | 
			
		||||
# with Vagrant so that encoded files can properly run with Vagrant.
 | 
			
		||||
 | 
			
		||||
if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]
 | 
			
		||||
  require File.expand_path(
 | 
			
		||||
    "rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"])
 | 
			
		||||
else
 | 
			
		||||
  raise "Encoded files can't be read outside of the Vagrant installer."
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user