From 068f142d34587a13061b5e771810e028173cb58a Mon Sep 17 00:00:00 2001 From: eugene-yujinwu <117058060+eugene-yujinwu@users.noreply.github.com> Date: Mon, 29 Apr 2024 18:07:24 +0800 Subject: [PATCH] Fix modprobe_attachment and sysctl_attachment failed in remote mode (BugFix) (#1214) --- providers/base/units/info/jobs.pxu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/base/units/info/jobs.pxu b/providers/base/units/info/jobs.pxu index e1b0ca9e58..d08d0f15ea 100644 --- a/providers/base/units/info/jobs.pxu +++ b/providers/base/units/info/jobs.pxu @@ -131,6 +131,7 @@ _description: Attaches info on system memory as seen in /proc/meminfo. id: modprobe_attachment plugin: attachment category_id: com.canonical.plainbox::info +user: root command: find /etc/modprobe.* -name \*.conf -exec cat {} + estimated_duration: 0.015 _description: Attaches the contents of the various modprobe conf files. @@ -161,6 +162,7 @@ _summary: Attach the contents of /etc/modules id: sysctl_attachment plugin: attachment category_id: com.canonical.plainbox::info +user: root command: find /etc/sysctl.* -name \*.conf -exec cat {} + estimated_duration: 0.014 _description: Attaches the contents of various sysctl config files.