]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
fix typo and minor cleanup
authorAlexander Khryukin <alexander@mezon.ru>
Thu, 10 Oct 2013 14:46:53 +0000 (18:46 +0400)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 10 Oct 2013 17:34:06 +0000 (13:34 -0400)
Signed-off-by: Alexander Khryukin <alexander@mezon.ru>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-openmandriva.in

index a0f0cadf014b3afeed8684e74917926a11332125..d94896613f500ad2c322b1b727b5537125325470 100755 (executable)
@@ -98,8 +98,8 @@ set_guest_root_password()
 {
     [[ -z "$root_password" ]] && return # pass is empty, abort
 
-    echo -n " - setting guest root password.."
-    echo -n "root passwd is: $root_password"
+    echo " - setting guest root password.."
+    echo "root passwd is: $root_password"
     echo "root:$root_password" | chroot "$rootfs_path" chpasswd
     echo "done."
 }
@@ -149,7 +149,7 @@ copy_openmandriva()
 update_openmandriva()
 {
     echo "automated update in progress..."
-    urpmi --root $cache/rootfs urpmi-root $cache/rootfs --auto --auto-update --ignorearch
+    urpmi --root $cache/rootfs --urpmi-root $cache/rootfs --auto --auto-update --ignorearch
 }
 
 configure_openmandriva_systemd()