Skip to content

Commit

Permalink
Merge pull request #465 from chef/hotfix/fedora-22
Browse files Browse the repository at this point in the history
Fixing Fedora 22 build tools to fix vm tools
  • Loading branch information
Seth Thomas committed Oct 2, 2015
2 parents bff964d + 0a66bab commit ab0f5a5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions fedora-22-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
"scripts/common/metadata.sh",
"scripts/fedora/fix-slow-dns.sh",
"scripts/common/sshd.sh",
"scripts/fedora/22-build-tools.sh",
"scripts/common/vmtools.sh",
"scripts/common/vagrant.sh",
"scripts/fedora/cleanup.sh",
Expand Down
1 change: 1 addition & 0 deletions fedora-22-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
"scripts/common/metadata.sh",
"scripts/fedora/fix-slow-dns.sh",
"scripts/common/sshd.sh",
"scripts/fedora/22-build-tools.sh",
"scripts/common/vmtools.sh",
"scripts/common/vagrant.sh",
"scripts/fedora/cleanup.sh",
Expand Down
5 changes: 3 additions & 2 deletions http/fedora-22/ks.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ firstboot --disabled
reboot
user --name=vagrant --plaintext --password vagrant

%packages --nobase --ignoremissing --excludedocs
%packages --ignoremissing --excludedocs
bzip2
gcc
# GCC won't install during kickstart
# gcc
kernel-devel
kernel-headers
tar
Expand Down
3 changes: 3 additions & 0 deletions scripts/fedora/22-build-tools.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash -eux
# Installing build tools here because Fedora 22 will not do so during kickstart
dnf -y install kernel-headers-$(uname -r) kernel-devel-$(uname -r) gcc make perl

0 comments on commit ab0f5a5

Please sign in to comment.