Delete `shared_dir.rb`.

This commit is contained in:
Kazuhiro MUSASHI 2022-03-13 21:56:59 +09:00
parent 64066ab78f
commit a882f52b3f
2 changed files with 0 additions and 21 deletions

View File

@ -5,6 +5,4 @@ include_recipe './install.rb'
if node['nomad']['manager'] || node['nomad']['client'] if node['nomad']['manager'] || node['nomad']['client']
include_recipe './setup.rb' include_recipe './setup.rb'
include_recipe './csi.rb' include_recipe './csi.rb'
include_recipe './shared_dir.rb'
end end

View File

@ -1,19 +0,0 @@
%w( /mnt/shared ).each do |d|
directory d do
owner 'root'
group 'root'
end
end
# Add the fstab entry:
file '/etc/fstab' do
action :edit
block do |content|
content << "//192.168.10.200/Shared/AppData /mnt/shared cifs username=admin,password=Holiday88,uid=root,gid=root,file_mode=0777,dir_mode=0777,vers=3.0,_netdev 0 0\n"
end
not_if 'grep shared /etc/fstab'
end
execute 'mount -a || true'