vps_create(): save LOCAL_UID/GID=0 if !userns

In case user namespace is not available at the time of container
creation, we are basically creating container with LOCAL_UID=0
and LOCAL_GID=0. Make sure to write these values to container
configuration file, otherwise the global default from /etc/vz/vz.conf
will take place during container start and it will fail with the
following message:

	Container private area is owned by 0:0, but configuration
	file says we should run with 100000:100000.
	Refusing to run.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed