Displaying 3 results from an estimated 3 matches for "remove_network_ifcfg_hwaddr_entries".
2018 Feb 27
5
[PATCH] v2v: remove MAC address related information
Remove ties to MAC address because it is likely to change.
The code is based on operations net-hwaddr and udev-persistent-net of
virt-sysprep.
Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
---
v2v/convert_linux.ml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index b273785e6..8bba74786 100644
---
2018 Feb 27
0
Re: [PATCH] v2v: remove MAC address related information
...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 @@ let convert (g : G.guestfs) inspect source output rcaps =
> msg
> )
>
&g...
2018 Feb 27
1
Re: [PATCH] v2v: remove MAC address related information
...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_kernel () in
> >
> > if output#keep_serial_console then (
> > @@ -452,6 +454,21 @@ let convert (g :...