Commits
Kir Kolyshkin authored 72b38d205bd
vzctl create: fix running postcreate action wrt --ostemplate path/tmpl Fix running postcreate action in case --ostemplate argument contains path. Commit 1975a5c introduced support for path in --ostemplate argument, and then commit 33dae1f fixed the case of storing that path in OSTEMPLATE value in container's configuration file. Running of post-create script is still not fixed though, leading to this error: Warning: configuration file for distribution beta/fedora-19-x86_64 not found, using defaults from /etc/vz/dists/default Fix it right there in get_dist_conf_name(). Cc: Michael Shigorin <mike@altlinux.org> Cc: Slava Dubrovskiy <dubrsl@altlinux.ru> Signed-off-by: Kir Kolyshkin <kir@openvz.org>