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

Fixes #325, #318 - don't download cacert.pem #328

Merged
merged 1 commit into from
Feb 24, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 0 additions & 2 deletions packer/http/centos-5.11/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ yum
-zd1211-firmware

%post
# update root certs
wget -O/etc/pki/tls/certs/ca-bundle.crt http://curl.haxx.se/ca/cacert.pem
# sudo
echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
2 changes: 0 additions & 2 deletions packer/http/centos-6.6/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ nfs-utils
%post
# Force to set SELinux to a permissive mode
sed -i -e 's/\(^SELINUX=\).*$/\1permissive/' /etc/selinux/config
# update root certs
wget -O/etc/pki/tls/certs/ca-bundle.crt http://curl.haxx.se/ca/cacert.pem
# sudo
echo "%vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/vagrant
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
2 changes: 0 additions & 2 deletions packer/http/centos-7.0/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ bzip2
%end

%post
# update root certs
wget -O/etc/pki/tls/certs/ca-bundle.crt http://curl.haxx.se/ca/cacert.pem
# sudo
echo "%vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/vagrant
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
Expand Down
2 changes: 0 additions & 2 deletions packer/http/fedora-20/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ net-tools
%end

%post
# update root certs
wget -O/etc/pki/tls/certs/ca-bundle.crt http://curl.haxx.se/ca/cacert.pem
# sudo
echo 'Defaults:vagrant !requiretty' > /etc/sudoers.d/vagrant
echo '%vagrant ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/vagrant
Expand Down
2 changes: 0 additions & 2 deletions packer/http/fedora-21/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ net-tools
%end

%post
# update root certs
wget -O/etc/pki/tls/certs/ca-bundle.crt http://curl.haxx.se/ca/cacert.pem
# sudo
echo 'Defaults:vagrant !requiretty' > /etc/sudoers.d/vagrant
echo '%vagrant ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/vagrant
Expand Down
2 changes: 0 additions & 2 deletions packer/scripts/fedora/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ nfs-utils
%end

%post
# update root certs
wget -O /etc/pki/tls/certs/ca-bundle.crt http://curl.haxx.se/ca/cacert.pem
# vagrant
groupadd vagrant
useradd vagrant -g vagrant -G wheel -u 900
Expand Down