mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-02 17:55:46 +02:00
Add missing file
This commit is contained in:
parent
adac2ae241
commit
ebdb3eaa7f
5
chef/cookbooks/metasploitable/files/sinatra/start.sh
Normal file
5
chef/cookbooks/metasploitable/files/sinatra/start.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /opt/sinatra
|
||||
bundle install
|
||||
ruby ./server.rb
|
|
@ -20,7 +20,7 @@ directory '/opt/sinatra' do
|
|||
mode '0777'
|
||||
end
|
||||
|
||||
['Gemfile', 'README.txt', 'check.rb', 'poc.rb', 'start.conf', 'server.rb'].each do |fname|
|
||||
['Gemfile', 'README.txt', 'check.rb', 'poc.rb', 'start.sh', 'server.rb'].each do |fname|
|
||||
cookbook_file "/opt/sinatra/#{fname}" do
|
||||
source "sinatra/#{fname}"
|
||||
mode '0777'
|
||||
|
|
Loading…
Reference in New Issue
Block a user