Skip to content

Commit 5523a15

Browse files
authored
Netplan status only works with networkd type of networking (#83)
1 parent 9b27cb8 commit 5523a15

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/armbian-configng/config.ng.jobs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,12 +465,12 @@
465465
{
466466
"id": "N14",
467467
"description": "Display status",
468-
"command": [ "show_message <<< \"$(sudo netplan status)\"" ],
468+
"command": [ "show_message <<< \"$(netplan status --all)\"" ],
469469
"status": "Active",
470470
"doc_link": "",
471471
"src_reference": "",
472472
"author": "Igor Pecovnik",
473-
"condition": ""
473+
"condition": "[ $(netplan get network.renderer) == networkd ]"
474474
}
475475
]
476476
},

0 commit comments

Comments
 (0)