https://bugzilla.novell.com/show_bug.cgi?id=804435 https://bugzilla.novell.com/show_bug.cgi?id=804435#c2 --- Comment #2 from Michal Vyskocil <mvyskocil@suse.com> 2013-02-19 13:39:22 UTC --- BTW: it might be a good idea to replace the DISTRO= variable in openSUSE template by DISTRO=${DISTRO:-@@DISTRO@@} and then do in a %prep or %build source /etc/os-release if [[ ${NAME} != "openSUSE" ]]; then VERSION_ID="12.2" #<---- or latest? would that work? fi sed -e "s/@@DISTRO@@/${VERSION_ID}/" -i templates/lxc-opensuse.in I saw the SUITE=${SUITE:-squeeze} in debian's template, so I assume the call SUITE="wheezy" lxc-create will install container with wheezy instead. So I've run it and now I have "7.0 (wheezy)" in /var/lib/lxc/wheezy/rootfs/etc/os-release, which seems like reasonable way how to configure a script. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.