Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
Switch the bootstrap script over to using the internal apt repo
Browse files Browse the repository at this point in the history
Sam Kottler committed Jun 29, 2014
1 parent 108754e commit c577f4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .chef/bootstrap/rubygems-trusty.erb
Original file line number Diff line number Diff line change
@@ -5,6 +5,10 @@ hostname -F /etc/hostname

echo "`ip addr | grep eth0 | grep "inet " | cut -d " " -f 6 | cut -d \/ -f 1` `cat /etc/hostname`" >> /etc/hosts

# Make sure the machine is using the internal apt repository during bootstrap
rm /etc/apt/sources.list
echo 'deb http://repo01.common.rubygems.org trusty main' > /etc/apt/sources.list.d/rubygems_main.list

apt-get update
apt-get upgrade -y

0 comments on commit c577f4b

Please sign in to comment.