Chris Roberts
a5582eb1c8
Add ssh key permissions set caps to hosts
2018-06-12 10:49:10 -07:00
Brian Cain
864340ec58
Invoke tee from specific path
...
This commit updates the use of `tee` to use an explicit path when
invoked rather than relying on where `tee` has been defined in a users
PATH.
2017-06-29 16:11:18 -07:00
Si Beaumont
3deed353ae
Allow colon in NFS ID regex
...
Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
2015-01-20 14:11:42 +00:00
Mitchell Hashimoto
2a285d7655
hosts/bad: escape regexp properly [GH-4922]
2014-12-10 09:16:45 -08:00
Mitchell Hashimoto
ea983e32c8
hosts/*: NFS prune regexp matches file paths [GH-3815]
2014-10-24 12:16:53 -07:00
Mitchell Hashimoto
aa981cf4ec
hosts/bsd: only use sudo if we can't write /etc/exports [GH-2643]
2014-10-23 17:43:58 -07:00
Kalman Hazins
bb052366f7
Change symbols inside hashes to 1.9 JSON-like syntax
2014-05-22 12:35:12 -04:00
Jon Topper
e5490544d6
Use 'tee' to write to /etc/exports
2014-05-05 23:55:16 +01:00
Mitchell Hashimoto
d14f3e0a56
hosts/bsd: make directories unique when exporting
2014-02-26 08:04:21 -08:00
Jon Topper
7b30e557cd
hosts/bsd: sort NFS exports to avoid false validation errors [GH-2927]
...
With a synced folder configuration like so:
synced_folder ".", "/vagrant", :nfs => true
synced_folder "#{ENV['HOME']}/mirror", "/mirror", :nfs => true
synced_folder ENV['HOME'], "/home/#{ENV['USER']}", :nfs => true
on OSX, vagrant writes two overlapping exports to /etc/exports
which then fail the export check.
Iterating through the list of folders lexically builds a correct, single
exports entry.
Signed-off-by: Teemu Matilainen <teemu.matilainen@iki.fi>
2014-02-21 23:43:11 -03:00
Mitchell Hashimoto
9b383740ba
hosts/bsd: use Util::Which instead of system("which")
2014-01-12 22:37:39 -08:00
Mitchell Hashimoto
b8601423c7
hosts/bsd: don't execute shell for sudo commands [GH-2808]
2014-01-12 22:34:45 -08:00
Mitchell Hashimoto
bdb88da743
hosts/bsd: convert to new style
2014-01-07 20:39:24 -08:00