true
(* Rewrite /mnt/root/etc/fstab. *)
-let rewrite_fstab devices_to_send =
+let rewrite_fstab () =
let filename = "/mnt/root/etc/fstab" in
if is_file filename = Some true then (
sh ("cp " ^ quote filename ^ " " ^ quote (filename ^ ".p2vsaved"));
) config_devices_to_send in
(* Modify files on the root filesystem. *)
- rewrite_fstab config_devices_to_send;
+ rewrite_fstab ();
(* XXX Other files to rewrite? *)
(* Unmount the root filesystem and sync disks. *)