blob: ddbf96a078e7dd3a6404053f3b4d5c262458ace2 [file] [log] [blame]
#!/bin/bash
until host github.com &>/dev/null
do
echo "Waiting until github.com is resolvable..."
done
git clone https://github.com/lfit/releng-global-jjb.git /opt/ciman/global-jjb
/opt/ciman/global-jjb/jenkins-init-scripts/init.sh
IPADDR=$(facter ipaddress)
HOSTNAME=$(facter hostname)
FQDN=$(facter fqdn)
echo "^${IPADDR} ^${HOSTNAME} ^${FQDN}" >> /etc/hosts