From e55f4b3c03b9b6ec514cb0b008ffbf6bac771d28 Mon Sep 17 00:00:00 2001
From: Nikos Skalkotos <skalkoto@grnet.gr>
Date: Mon, 25 Jun 2012 16:04:07 +0300
Subject: [PATCH] Fix a warning message in linux fix_acpid sysprep

---
 image_creator/os_type/linux.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/image_creator/os_type/linux.py b/image_creator/os_type/linux.py
index 89d5e32..7597703 100644
--- a/image_creator/os_type/linux.py
+++ b/image_creator/os_type/linux.py
@@ -108,9 +108,9 @@ class Linux(Unix):
             elif event.strip() == ".*":
                 self.out.warn(
                     "Found action `.*'. Don't know how to handle this. " \
-                    "Please edit \%s' image file manually to make the " \
+                    "Please edit `%s' image file manually to make the " \
                     "system immediatelly shutdown when an power button acpi " \
-                    "event occures" % action)
+                    "event occures." % action.strip().split()[0])
                 return
 
     @sysprep()
-- 
GitLab