Displaying 2 results from an estimated 2 matches for "c5251ce".
Did you mean:
c5205ce
2012 Apr 03
1
[PATCH RFC] sysprep:add logging feature
...;/var/lib/dhclient/*"; "/var/lib/dhcp/*" (* RHEL 3 *) ]
);
+ eprintf "Deleted /var/lib/dhclient/* /var/lib/dhcp/*\n";
[]
let dhcp_client_state_op = {
diff --git a/sysprep/sysprep_operation_dhcp_server_state.ml b/sysprep/sysprep_operation_dhcp_server_state.ml
index c5251ce..87cb2ed 100644
--- a/sysprep/sysprep_operation_dhcp_server_state.ml
+++ b/sysprep/sysprep_operation_dhcp_server_state.ml
@@ -16,12 +16,14 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*)
+open Printf
open Sysprep_operation
module G = Guestfs
let dhcp_server_state_pe...
2012 Apr 06
2
[PATCH] virt-sysprep:add logging feature
...+ logging show_log "Deleted %s" glob2
+ ) (g#glob_expand glob)
) [ "/var/lib/dhclient/*"; "/var/lib/dhcp/*" (* RHEL 3 *) ]
);
[]
diff --git a/sysprep/sysprep_operation_dhcp_server_state.ml b/sysprep/sysprep_operation_dhcp_server_state.ml
index c5251ce..604a601 100644
--- a/sysprep/sysprep_operation_dhcp_server_state.ml
+++ b/sysprep/sysprep_operation_dhcp_server_state.ml
@@ -20,8 +20,12 @@ open Sysprep_operation
module G = Guestfs
-let dhcp_server_state_perform g root =
- Array.iter g#rm_rf (g#glob_expand "/var/lib/dhcpd/*");
+le...