From a6db0d99cd652445deb9beda3d582107e2309755 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Thu, 24 Aug 2023 11:54:52 +0200 Subject: [PATCH] ci: add sudo prefix for status commands few commands are getting permission denied error adding sudo is fixing the problem ``` Warning: Permanently added '192.168.49.2' (ECDSA) to the list of known hosts. Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions. ``` Signed-off-by: Madhu Rajanna --- system-status.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system-status.sh b/system-status.sh index f6f80dd7f..e6580bbfd 100755 --- a/system-status.sh +++ b/system-status.sh @@ -36,11 +36,11 @@ log minikube logs log minikube_ssh top -b -c -n1 -w # get the logs from the VM -log minikube_ssh journalctl --boot +log minikube_ssh sudo journalctl --boot # get kubelet status -log minikube_ssh systemctl status kubelet -log minikube_ssh journalctl -xeu kubelet +log minikube_ssh sudo systemctl status kubelet +log minikube_ssh sudo journalctl -xeu kubelet # filesystem status for host and VM log df -hT