From 85b92fbc54576b15669934e76846bb86706391f7 Mon Sep 17 00:00:00 2001 From: Manuel Montecelo Date: Sat, 12 Jun 2021 16:34:33 +0200 Subject: [PATCH] TT#105151 Reverse check to ensure that GRUB config does *not* contain net.ifnames=0 This has been applied before after changes in deployment-iso to not add this parameter to GRUB config, but as it was reverted there it had to be reverted here too. We could just leave it untested, but in principle it's better to ensure that we have what expect, either to ensure that it's present or absent, depending to the actions in deployment-iso. Change-Id: I695c9396a0f16987ee1146a153fffe1aafca8502 --- 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: