sambot 0.1.218 → 0.1.219
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sambot/templates/Vagrantfile.erb +5 -4
- data/lib/sambot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45b23316b2350595cf8b0b3052f49266b0a2433c
|
4
|
+
data.tar.gz: 895ea0d1fea324d7d0c0e8b6a89e5929c86c5b74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8484086210d62a90fd30ee22d03fbc7d69527ce9efd99a5fdab8ab5c557d5f99e295d914c5e2a8c35e2a0e936dcb680d4a89a4193bdf757e22393e9d5bb14e01
|
7
|
+
data.tar.gz: 8214613e0155362f697b13f047bcf989f8ef3fd40519076cb814d1bab66f5f1d7557aa2a350e20b979e21466071f7ba597a86deca2063d901937b6109e272984
|
@@ -95,13 +95,14 @@ Vagrant.configure("2") do |c|
|
|
95
95
|
#################################################################################
|
96
96
|
<%
|
97
97
|
puts 'Generating the wrapped token to pass in to the bootstrap script'
|
98
|
-
|
99
|
-
|
98
|
+
centos_token = ::Sambot::Testing::VaultHelper.generate_wrapped_token
|
99
|
+
windows_token = ::Sambot::Testing::VaultHelper.generate_wrapped_token
|
100
|
+
puts 'The tokens generated were ' + centos_token + ' and ' + windows_token
|
100
101
|
%>
|
101
102
|
<% if config[:box] =~ /centos/ %>
|
102
|
-
c.vm.provision "shell", inline: "bash /vagrant/bootstrap.sh \"<%=
|
103
|
+
c.vm.provision "shell", inline: "bash /vagrant/bootstrap.sh \"<%= centos_token %>\""
|
103
104
|
<% else %>
|
104
|
-
c.vm.provision "shell", inline: "powershell -ExecutionPolicy Bypass -File C:/Vagrant/bootstrap.ps1 -Token '<%=
|
105
|
+
c.vm.provision "shell", inline: "powershell -ExecutionPolicy Bypass -File C:/Vagrant/bootstrap.ps1 -Token '<%= windows_token %>'"
|
105
106
|
<% end %>
|
106
107
|
|
107
108
|
c.vm.provider "virtualbox" do |p|
|
data/lib/sambot/version.rb
CHANGED