From a8000f67b4bcb27b5c7921d9c7049aa5abfe6bbd Mon Sep 17 00:00:00 2001 From: Manuel Montecelo Date: Fri, 11 Jun 2021 17:51:09 +0200 Subject: [PATCH] TT#105151 Reverse check to ensure that grub config does *not* contain net.ifnames=0 Same as 930b1c89fc67d2c494868e3a6c23aece063baa1d without the extra code commited by mistake. Change-Id: I5d16ba3025949435b599583cdf2ff72630af313d --- templates/830_network-interfaces-legacy.yaml.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/830_network-interfaces-legacy.yaml.tt2 b/templates/830_network-interfaces-legacy.yaml.tt2 index d2730f6..823d17f 100644 --- a/templates/830_network-interfaces-legacy.yaml.tt2 +++ b/templates/830_network-interfaces-legacy.yaml.tt2 @@ -6,7 +6,7 @@ file: owner: root group: root filetype: file - contains: ['/^GRUB_CMDLINE_LINUX_DEFAULT=".*net.ifnames=0.*"/'] + contains: ['!/^GRUB_CMDLINE_LINUX_DEFAULT=".*net.ifnames=0.*"/'] command: