Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion parts/linux/cloud-init/artifacts/cse_helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ waitForContainerdReady() {
}

systemctlDisableAndStop() {
if systemctl list-units --full --all | grep -q "$1.service"; then
if systemctl cat "$1" &>/dev/null; then
systemctl_stop 20 5 25 $1 || echo "$1 could not be stopped"
systemctl_disable 20 5 25 $1 || echo "$1 could not be disabled"
fi
Comment thread
awesomenix marked this conversation as resolved.
Expand Down
Loading