[yakkety/master-next 2/2] UBUNTU: hv_set_ifconfig -- ensure we include the last stanza

Colin Ian King colin.king at canonical.com
Wed Nov 9 10:46:31 UTC 2016


On 09/11/16 10:23, Andy Whitcroft wrote:
> BugLink: http://bugs.launchpad.net/bugs/1640109
> Signed-off-by: Andy Whitcroft <apw at canonical.com>
> ---
>  debian/cloud-tools/hv_set_ifconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/debian/cloud-tools/hv_set_ifconfig b/debian/cloud-tools/hv_set_ifconfig
> index 1ed7158..d8b0487 100755
> --- a/debian/cloud-tools/hv_set_ifconfig
> +++ b/debian/cloud-tools/hv_set_ifconfig
> @@ -239,6 +239,9 @@ for line in flines:
>                  newfile += [line.strip()]
>      prev_line=line
>  
> +# Include pending stanza if any.
> +if inastanza and not pitchstanza:
> +    newfile.extend(stanza)
>  
>  
>  def emit(line):
> 
Acked-by: Colin Ian King <colin.king at canonical.com>




More information about the kernel-team mailing list