[lxc-devel] [lxc/master] checkconfig: Show LXC version in output.

Drachenfels-GmbH on Github lxc-bot at linuxcontainers.org
Wed Jul 8 09:33:07 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 398 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200708/9da2c66b/attachment.bin>
-------------- next part --------------
From add3b2fbced41cfcd9c56512b85da44962fecb10 Mon Sep 17 00:00:00 2001
From: Ruben Jenster <r.jenster at drachenfels.de>
Date: Wed, 8 Jul 2020 11:25:39 +0200
Subject: [PATCH] checkconfig: Show LXC version in output.

---
 src/lxc/cmd/lxc-checkconfig.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lxc/cmd/lxc-checkconfig.in b/src/lxc/cmd/lxc-checkconfig.in
index 25d99c477f..367f85de07 100755
--- a/src/lxc/cmd/lxc-checkconfig.in
+++ b/src/lxc/cmd/lxc-checkconfig.in
@@ -52,6 +52,8 @@ is_probed() {
     fi
 }
 
+echo "LXC version $(lxc-start --version)"
+
 if [ ! -f $CONFIG ]; then
     echo "Kernel configuration not found at $CONFIG; searching..."
     KVER="`uname -r`"


More information about the lxc-devel mailing list