Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ironfan ubuntu pr #357

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fetch apt repo key directly from opscode instead of keys.gnupg.net, i…
…nstall opscode keyring
  • Loading branch information
westbywest committed Jun 17, 2014
commit d0e6aa6f74c74617317d4b515496d92d80bc8323
3 changes: 2 additions & 1 deletion lib/chef/knife/bootstrap/ubuntu12.04-ironfan.erb
Original file line number Diff line number Diff line change
@@ -18,13 +18,14 @@ echo "deb http://apt.opscode.com/ `lsb_release -cs`-0.10 main" | sudo tee /etc/a

# Make sure that opscode chef is on the apt repo list.
sudo mkdir -p /etc/apt/trusted.gpg.d
gpg --keyserver keys.gnupg.net --recv-keys 83EF826A
gpg --fetch-key http://apt.opscode.com/packages@opscode.com.gpg.key
gpg --export packages@opscode.com | sudo tee /etc/apt/trusted.gpg.d/opscode-keyring.gpg > /dev/null

date > /etc/box_build_time

echo -e "`date` \n\n**** \n**** apt update:\n****\n"
apt-get --force-yes -y update
apt-get -y -o Dpkg::Options::="--force-confnew" install opscode-keyring
apt-get --force-yes -y dist-upgrade

echo -e "`date` \n\n**** \n**** Installing base packages:\n****\n"