search for: sysprep_network

Displaying 3 results from an estimated 3 matches for "sysprep_network".

2018 Feb 27
5
[PATCH] v2v: remove MAC address related information
...insertions(+) diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml index b273785e6..8bba74786 100644 --- a/v2v/convert_linux.ml +++ b/v2v/convert_linux.ml @@ -88,6 +88,8 @@ let convert (g : G.guestfs) inspect source output rcaps = unconfigure_kudzu (); unconfigure_prltools (); + sysprep_networking(); + let kernel = configure_kernel () in if output#keep_serial_console then ( @@ -452,6 +454,21 @@ let convert (g : G.guestfs) inspect source output rcaps = msg ) + and sysprep_networking () = + if family = `RHEL_family then + (* Remove HWADDR=... entries...
2018 Feb 27
0
Re: [PATCH] v2v: remove MAC address related information
...linux.ml b/v2v/convert_linux.ml > index b273785e6..8bba74786 100644 > --- a/v2v/convert_linux.ml > +++ b/v2v/convert_linux.ml > @@ -88,6 +88,8 @@ let convert (g : G.guestfs) inspect source output rcaps = > unconfigure_kudzu (); > unconfigure_prltools (); > > + sysprep_networking(); The function name is a bit obscure. How about this? remove_network_ifcfg_hwaddr_entries (); Also needs a space between the function name and the parentheses. > let kernel = configure_kernel () in > > if output#keep_serial_console then ( > @@ -452,6 +454,21 @@ le...
2018 Feb 27
1
Re: [PATCH] v2v: remove MAC address related information
...; index b273785e6..8bba74786 100644 > > --- a/v2v/convert_linux.ml > > +++ b/v2v/convert_linux.ml > > @@ -88,6 +88,8 @@ let convert (g : G.guestfs) inspect source output rcaps = > > unconfigure_kudzu (); > > unconfigure_prltools (); > > > > + sysprep_networking(); > > The function name is a bit obscure. How about this? > > remove_network_ifcfg_hwaddr_entries (); Maybe too long to my taste, but sure, why not. > > Also needs a space between the function name and the parentheses. > > > let kernel = configure_kern...