search for: nfs_setting_perform

Displaying 2 results from an estimated 2 matches for "nfs_setting_perform".

2013 Sep 06
0
[PATCH 2/5] sysprep: remove the NFS settings
...ou should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + *) + +open Sysprep_operation +open Common_gettext.Gettext + +module G = Guestfs + +let nfs_setting_perform g root = + let typ = g#inspect_get_type root in + if typ <> "windows" then ( + let path = "/etc/export" in + (try g#rm path with G.Error _ -> ()); + [] + ) + else [] + +let op = { + defaults with + name = "NFS-setting"; + enabled_by_default...
2013 Sep 06
7
[PATCH 1/5] sysprep: remove tmp files
This removes tmp files under /tmp and /var/tmp. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> --- sysprep/Makefile.am | 1 + sysprep/sysprep_operation_tmp_files.ml | 52 ++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 sysprep/sysprep_operation_tmp_files.ml diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index