Merge pull request 'Modify `mount` command parameters.' (#57) from modify-mount-parameters-for-docker into master
Reviewed-on: #57
This commit is contained in:
commit
81df724e10
|
@ -13,7 +13,7 @@ file '/etc/fstab' do
|
||||||
action :edit
|
action :edit
|
||||||
|
|
||||||
block do |content|
|
block do |content|
|
||||||
content << "//192.168.10.200/Shared/backup /mnt/backup cifs username=admin,password=Holiday88,uid=root,gid=root,file_mode=0777,dir_mode=0777,defaults 0 0\n"
|
content << "//192.168.10.200/Shared/AppData /mnt/backup cifs username=admin,password=Holiday88,uid=root,gid=root,file_mode=0777,dir_mode=0777,vers=3.0,_netdev 0 0\n"
|
||||||
end
|
end
|
||||||
|
|
||||||
not_if 'grep backup /etc/fstab'
|
not_if 'grep backup /etc/fstab'
|
||||||
|
@ -23,7 +23,7 @@ file '/etc/fstab' do
|
||||||
action :edit
|
action :edit
|
||||||
|
|
||||||
block do |content|
|
block do |content|
|
||||||
content << "//192.168.10.200/Shared/PXEBoot/www/ubuntu/apt-mirror /var/spool/apt-mirror cifs username=admin,password=Holiday88,uid=root,gid=root,file_mode=0777,dir_mode=0777,defaults 0 0\n"
|
content << "//192.168.10.200/Shared/PXEBoot/www/ubuntu/apt-mirror /var/spool/apt-mirror cifs username=admin,password=Holiday88,uid=root,gid=root,file_mode=0777,dir_mode=0777,vers=3.0,_netdev 0 0\n"
|
||||||
end
|
end
|
||||||
|
|
||||||
not_if 'grep apt-mirror /etc/fstab'
|
not_if 'grep apt-mirror /etc/fstab'
|
||||||
|
|
Loading…
Reference in New Issue