sambot 0.1.219 → 0.1.220
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be24c61be67746ca0541bd4bfaa73b78c85ef8e2
|
4
|
+
data.tar.gz: 355d7fc441ea881b6a17ae89b44c4d0d674dbe87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55606498feff855d8632e7eca6f34be0d90496f03ad245f7221e730036cf1912b42a5391a80609d466c4a2f28ca1cfd4b093dd03acb1cd21f7ca2ea357cd9561
|
7
|
+
data.tar.gz: b07b398d3a241ceb021f3de5a5c7a086d537a87ecbfe1c1d47319db4cbb7dc803c0ea2e19273f593f13ead8977b9f0fff13c0216ea611a65e085f9720ea745af
|
@@ -95,14 +95,13 @@ 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
|
-
|
100
|
-
puts 'The tokens generated were ' + centos_token + ' and ' + windows_token
|
98
|
+
token = ::Sambot::Testing::VaultHelper.generate_wrapped_token
|
99
|
+
puts 'The token generated was ' + token
|
101
100
|
%>
|
102
101
|
<% if config[:box] =~ /centos/ %>
|
103
|
-
c.vm.provision "shell", inline: "bash /vagrant/bootstrap.sh \"<%=
|
102
|
+
c.vm.provision "shell", inline: "bash /vagrant/bootstrap.sh \"<%= token %>\""
|
104
103
|
<% else %>
|
105
|
-
c.vm.provision "shell", inline: "powershell -ExecutionPolicy Bypass -File C:/Vagrant/bootstrap.ps1 -Token '<%=
|
104
|
+
c.vm.provision "shell", inline: "powershell -ExecutionPolicy Bypass -File C:/Vagrant/bootstrap.ps1 -Token '<%= token %>'"
|
106
105
|
<% end %>
|
107
106
|
|
108
107
|
c.vm.provider "virtualbox" do |p|
|
data/lib/sambot/version.rb
CHANGED