[lxc-devel] [PATCH 7/7] lxc-opensuse: print \n from one echo

Jiri Slaby jslaby at suse.cz
Tue Feb 19 12:45:41 UTC 2013


Otherwise the output looks like:
Copying rootfs to /var/lib/lxc/tomcat/rootfs ...Please change
root-password !
---
 templates/lxc-opensuse.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in
index 1829ddf..d8aa2a1 100644
--- a/templates/lxc-opensuse.in
+++ b/templates/lxc-opensuse.in
@@ -188,7 +188,7 @@ copy_opensuse()
     rootfs=$3
 
     # make a local copy of the mini opensuse
-    echo -n "Copying rootfs to $rootfs ..."
+    echo "Copying rootfs to $rootfs ..."
     mkdir -p $rootfs
     rsync -Ha $cache/rootfs-$arch/ $rootfs/ || return 1
     return 0
-- 
1.8.1.2






More information about the lxc-devel mailing list