Fix `sed` calls for linux and add proper options for the UID/GID mapping.
This commit is contained in:
parent
67b23be473
commit
f8909dcbfa
|
@ -1,3 +1,3 @@
|
||||||
# VAGRANT-BEGIN: <%= uuid %>
|
# VAGRANT-BEGIN: <%= uuid %>
|
||||||
<% folders.each do |name, opts| %><%= opts[:hostpath] %> <%= ip %>(rw<% if opts[:map_uid] %>,anonuid=<%= opts[:map_uid] %><% end %><% if opts[:map_gid] %>,anongid=<%= opts[:map_gid] %><% end %>)<% end %>
|
<% folders.each do |name, opts| %><%= opts[:hostpath] %> <%= ip %>(rw,no_subtree_check,all_squash<% if opts[:map_uid] %>,anonuid=<%= opts[:map_uid] %><% end %><% if opts[:map_gid] %>,anongid=<%= opts[:map_gid] %><% end %>)<% end %>
|
||||||
# VAGRANT-END: <%= uuid %>
|
# VAGRANT-END: <%= uuid %>
|
|
@ -119,6 +119,7 @@ Gem::Specification.new do |s|
|
||||||
"templates/chef_solo_solo.erb",
|
"templates/chef_solo_solo.erb",
|
||||||
"templates/network_entry.erb",
|
"templates/network_entry.erb",
|
||||||
"templates/nfs/exports.erb",
|
"templates/nfs/exports.erb",
|
||||||
|
"templates/nfs/exports_linux.erb",
|
||||||
"templates/package_Vagrantfile.erb",
|
"templates/package_Vagrantfile.erb",
|
||||||
"templates/ssh_config.erb",
|
"templates/ssh_config.erb",
|
||||||
"templates/strings.yml",
|
"templates/strings.yml",
|
||||||
|
@ -186,6 +187,7 @@ Gem::Specification.new do |s|
|
||||||
"test/vagrant/environment_test.rb",
|
"test/vagrant/environment_test.rb",
|
||||||
"test/vagrant/hosts/base_test.rb",
|
"test/vagrant/hosts/base_test.rb",
|
||||||
"test/vagrant/hosts/bsd_test.rb",
|
"test/vagrant/hosts/bsd_test.rb",
|
||||||
|
"test/vagrant/hosts/linux_test.rb",
|
||||||
"test/vagrant/provisioners/base_test.rb",
|
"test/vagrant/provisioners/base_test.rb",
|
||||||
"test/vagrant/provisioners/chef_server_test.rb",
|
"test/vagrant/provisioners/chef_server_test.rb",
|
||||||
"test/vagrant/provisioners/chef_solo_test.rb",
|
"test/vagrant/provisioners/chef_solo_test.rb",
|
||||||
|
@ -256,6 +258,7 @@ Gem::Specification.new do |s|
|
||||||
"test/vagrant/systems/linux_test.rb",
|
"test/vagrant/systems/linux_test.rb",
|
||||||
"test/vagrant/config_test.rb",
|
"test/vagrant/config_test.rb",
|
||||||
"test/vagrant/hosts/base_test.rb",
|
"test/vagrant/hosts/base_test.rb",
|
||||||
|
"test/vagrant/hosts/linux_test.rb",
|
||||||
"test/vagrant/hosts/bsd_test.rb",
|
"test/vagrant/hosts/bsd_test.rb",
|
||||||
"test/vagrant/active_list_test.rb",
|
"test/vagrant/active_list_test.rb",
|
||||||
"test/vagrant/commands/base_test.rb",
|
"test/vagrant/commands/base_test.rb",
|
||||||
|
|
Loading…
Reference in New Issue