set_userpass.sh: fix bashism

Use sed to split user:passwd string.

Originally reported to Debian:
> possible bashism in ./etc/vz/dists/scripts/set_userpass.sh line 26
> (${parm/?/pat[/str]}):
>        local user=${userpw/:*/}

http://bugzilla.openvz.org/2403
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690713

Reported-by: Raphael Geissert <atomo64@gmail.com>
Reported-by: Ola Lundqvist <opal@debian.org>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed