mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-19 21:44:23 +01:00
utils: kata-manager: Improve info messages
Improve some of the information messages a little by adding more detail and quoting file names. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
@@ -501,7 +501,7 @@ configure_containerd()
|
||||
|
||||
sudo grep -q "$kata_runtime_type" "$containerd_config" || {
|
||||
sudo cp "$containerd_config" "${original}"
|
||||
info "Backed up $containerd_config to $original"
|
||||
info "Backed up containerd config file '$containerd_config' to '$original'"
|
||||
}
|
||||
|
||||
local modified="false"
|
||||
@@ -553,7 +553,7 @@ configure_containerd()
|
||||
modified="true"
|
||||
fi
|
||||
|
||||
[ "$modified" = "true" ] && info "Modified $containerd_config"
|
||||
[ "$modified" = "true" ] && info "Modified containerd config file '$containerd_config'"
|
||||
sudo systemctl enable containerd
|
||||
sudo systemctl start containerd
|
||||
|
||||
@@ -657,7 +657,7 @@ configure_kata()
|
||||
-e 's/^kernel_params = "\(.*\)"/kernel_params = "\1 agent.log=debug"/g' \
|
||||
"$cfg_to"
|
||||
|
||||
info "Configured $kata_project for full debug (delete $cfg_to to use pristine $kata_project configuration)"
|
||||
info "Configured $kata_project for full debug (delete '$cfg_to' to use pristine $kata_project configuration)"
|
||||
}
|
||||
|
||||
handle_kata()
|
||||
|
||||
Reference in New Issue
Block a user