While creating a Debian 8 (Jessie) template using DAB,
is successful, but thereafter
fails since
has not yet been created with a valid nameserver as that happens only on VM creation. A possible workaround is:
Code:
apt-get install php-pear
Code:
pear upgrade
Code:
/etc/resolv.conf
Code:
apt-get install php-pear
echo "nameserver 8.8.8.8" > ${BASEDIR}/etc/resolv.conf
dab exec pear upgrade
dab exec pear install mail Net_SMTP Auth_SASL
rm -f ${BASEDIR}/etc/resolv.conf
Last edited: