vagrant/plugins/guests
Seth Vargo 5a4f345363
Use Util::Tempfile when configuring networks
This fixes a fairly large tempfile leak. Vagrant uses a template
renderer to write network configuration files locally to disk. Then,
that temporarily file is uploaded to the remote host and moved into
place. Since Vagrant is such a short-lived process, GC never came along
and cleaned up those tempfiles, resulting in many temporary files being
created through regular Vagrant usage.

The Util::Tempfile class uses a block to ensure the temporary file is
deleted when the block finishes. This API required small tweaks to the
usage, but provides more safety to ensure the files are deleted.
2016-05-28 23:22:34 -04:00
..
arch Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
atomic Add Atomic guest support 2015-05-19 12:55:44 +02:00
coreos Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
darwin Move "cant_read_mac_addresses" error to the global space 2015-10-09 14:57:41 +03:00
debian Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
esxi Use -f argument to rm to force-remove files. 2014-08-29 10:51:31 +02:00
fedora Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
freebsd Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
funtoo Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
gentoo Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
linux Do not interpolate in SMB linux heredoc 2016-02-29 07:19:45 -05:00
mint guests/mint: don't need to inherit from ubuntu class 2014-05-06 12:50:35 -07:00
netbsd Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
nixos Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
omnios Add mount_nfs_folder capability to omnios guests 2014-03-20 17:06:49 -04:00
openbsd Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
photon Added tests 2015-04-20 14:56:26 -07:00
pld fix network detection on pld-linux 2015-08-21 12:49:36 +03:00
redhat Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
slackware Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
smartos Ensure rsync_post has find permissions on smartos 2014-08-29 14:17:28 -07:00
solaris Add insert/remove public key guest capability for solaris (identical to linux) 2015-01-13 21:45:06 -05:00
solaris11 guests/solaris11: fix suexec inheritence [GH-5247] 2015-07-06 14:23:24 -06:00
suse Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
tinycore ooops missed something while branching 2016-02-04 17:22:28 +01:00
trisquel add trisquel guest plugin as derivative of ubuntu - Issue #6842 2016-01-10 08:21:16 -06:00
ubuntu Better Ubuntu systemd detection 2015-08-31 17:24:13 -04:00
windows Use SSL and HTTPS links where appropriate 2016-01-25 13:14:54 -05:00