Package: lxc Version: 0.8.0-1 Severity: normal
Sorry, Installing openssl insufficient to resolve "/usr/bin/lxc-clone: 281: Bad substitution". I can't understand everything but the patch below seems to work and simplify code. 270c270 < c=$lxc_path/$lxc_new/config --- > c="$lxc_path/$lxc_new/config" 272,282c272 < mv ${c} ${c}.old < ( < while read line; do < if [ "${line:0:18}" = "lxc.network.hwaddr" ]; then < echo "lxc.network.hwaddr= 00:16:3e:$(openssl rand -hex 3| sed 's/\(..\)/\1:/g; s/.$//')" < else < echo "$line" < fi < done < ) < ${c}.old > ${c} < rm -f ${c}.old --- > sed -e "s/lxc.network.hwaddr.*/lxc.network.hwaddr= 00:16:3e:$(openssl rand > -hex 3| sed 's/\(..\)/\1:/g; s/.$//')/" -i "${c}" Regards, Clément Mondon -- System Information: Debian Release: 6.0.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lxc depends on: ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy ii libapparmor1 2.7.103-4 changehat AppArmor library ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib ii libcap2 1:2.19-3 support for getting/setting POSIX. ii multiarch-support 2.13-35 Transitional package to ensure mul Versions of packages lxc recommends: ii debootstrap 1.0.26+squeeze1 Bootstrap a basic Debian system ii libcap2-bin 1:2.19-3 basic utility programs for using c lxc suggests no packages. -- Configuration Files: /etc/default/lxc changed [not included] -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org