From: Alexander Khryukin Date: Thu, 10 Oct 2013 14:46:53 +0000 (+0400) Subject: fix typo and minor cleanup X-Git-Tag: lxc-1.0.0.alpha2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa1c458caa3a6e8ad76350da88bf82904c690994;p=thirdparty%2Flxc.git fix typo and minor cleanup Signed-off-by: Alexander Khryukin Acked-by: Stéphane Graber --- diff --git a/templates/lxc-openmandriva.in b/templates/lxc-openmandriva.in index a0f0cadf0..d94896613 100755 --- a/templates/lxc-openmandriva.in +++ b/templates/lxc-openmandriva.in @@ -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()