git.annexia.org
/
virt-p2v.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ee27d1
)
rewrite_fstab function never uses config_devices_to_send parameter.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 25 Mar 2008 17:15:32 +0000
(17:15 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 25 Mar 2008 17:15:32 +0000
(17:15 +0000)
virt-p2v
patch
|
blob
|
history
diff --git
a/virt-p2v
b/virt-p2v
index
3106363
..
b257bc4
100755
(executable)
--- a/
virt-p2v
+++ b/
virt-p2v
@@
-714,7
+714,7
@@
let test_ssh config =
true
(* Rewrite /mnt/root/etc/fstab. *)
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"));
let filename = "/mnt/root/etc/fstab" in
if is_file filename = Some true then (
sh ("cp " ^ quote filename ^ " " ^ quote (filename ^ ".p2vsaved"));
@@
-1684,7
+1684,7
@@
let rec main ttyname =
) config_devices_to_send in
(* Modify files on the root filesystem. *)
) 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. *)
(* XXX Other files to rewrite? *)
(* Unmount the root filesystem and sync disks. *)