Skip to content

Commit 03bf9f1

Browse files
committed
chore(ci): Mitigate 'Legacy network configuration found' inhibitor
The reason is AlmaLinux Vagrant boxes now include cloud-init. It generates network configuration files in legacy "ifcfg" format. Converting of the configuration into NetworkManager native "keyfile" format is required. (cherry picked from commit d8e3e61)
1 parent 74a3f17 commit 03bf9f1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/elevate.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,13 +259,15 @@ jobs:
259259
8)
260260
sed -i 's/\(PermitRootLogin yes\)/\1 # inhibited/g' /etc/ssh/sshd_config;
261261
sed -i s/^AllowZoneDrifting=.*/AllowZoneDrifting=no/ /etc/firewalld/firewalld.conf;
262+
nmcli conn migrate
262263
leapp answer --section check_vdo.confirm=True;
263264
res=$?
264265
;;
265266
9)
266267
# TODO: workaround for CentOS Stream 9 SHA1 deprecated signature
267268
[ ${{ env.source_distro }} = "centos" ] && rpm -e gpg-pubkey-8483c65d-5ccc5b19 || true
268-
res=0
269+
nmcli conn migrate
270+
res=$?
269271
;;
270272
esac
271273
fi

0 commit comments

Comments
 (0)