On Fri, Sep 24, 2010 at 9:45 AM, Serge van Ginderachter
<[email protected]> wrote:
> +VMFQDN=$INSTANCE_NAME
> +VMHOSTNAME=${VMFQDN%%.*}
> +
As I said, can we change these to INSTANCE_FQDN and INSTANCE_HOSTNAME
for them to be more readable?
> +[ x$VMFQDN -eq x$VMHOSTNAME ] && VMFQDN=""
> +
> +echo "127.0.1.1 $VMFQDN $VMHOSTNAME" >> $TARGET/etc/host
> +
And here you may want 127.0.0.1 and /etc/hosts rather than /etc/host :)
Could you actually test the password, before sending it to be applied? :)
Thanks,
Guido