use pwgen instead of custom function

On Tue, Jul 15, 2014 at 06:32:58AM -0700, bbcmicrocomputer wrote:
> > @@ -26,7 +26,7 @@ deployLandscape()
> >  	mkfifo -m 0600 "$TMP/deployer-out"
> >  
> >  	# Randomize landscape's internal databse password.
> > -	sed -i -e "s/look-a-different-password/$(randomAlphaNum)/" \
> > +	sed -i -e "s/look-a-different-password/$(pwgen -s 32 1)/" \
> 
> Technically you don't need the num_pw argument if this is running as a script.

Heh, awesome behavior there :\

> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/Ubuntu-Solutions-Engineering/cloud-installer/pull/103/files#r14933621