From 5523a15e1ba0f412c50121f44d858098ebe90599 Mon Sep 17 00:00:00 2001 From: Igor Date: Tue, 17 Sep 2024 04:12:46 +0200 Subject: [PATCH] Netplan status only works with networkd type of networking (#83) --- lib/armbian-configng/config.ng.jobs.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/armbian-configng/config.ng.jobs.json b/lib/armbian-configng/config.ng.jobs.json index 94e4b267..89b9b301 100644 --- a/lib/armbian-configng/config.ng.jobs.json +++ b/lib/armbian-configng/config.ng.jobs.json @@ -465,12 +465,12 @@ { "id": "N14", "description": "Display status", - "command": [ "show_message <<< \"$(sudo netplan status)\"" ], + "command": [ "show_message <<< \"$(netplan status --all)\"" ], "status": "Active", "doc_link": "", "src_reference": "", "author": "Igor Pecovnik", - "condition": "" + "condition": "[ $(netplan get network.renderer) == networkd ]" } ] },