Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rubygem-{bunny,systemu} gems are in Fedora proper now

Switch to official download URL for the beta
Don't upgrade kernel using yum in postinstall.sh. Explain why.
  • Loading branch information...
commit 3e2a326a12fd313ff67a87610b3084bbe03d80a5 1 parent 112386a
Julian C. Dunn authored
View
2  templates/Fedora-18-x86_64/definition.rb
@@ -4,7 +4,7 @@
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off', :hwvirtext => 'on',
:os_type_id => 'Fedora_64',
:iso_file => "Fedora-18-Beta-x86_64-DVD.iso",
- :iso_src => "http://dl.fedoraproject.org/pub/alt/stage/18-Beta-RC1/Fedora/x86_64/iso/Fedora-18-Beta-x86_64-DVD.iso",
+ :iso_src => "http://download.fedoraproject.org/pub/fedora/linux/releases/test/18-Beta/Fedora/x86_64/iso/Fedora-18-Beta-x86_64-DVD.iso",
:iso_md5 => "82b755826e205da0973404be937991a1",
:iso_download_timeout => 1000,
:boot_wait => "10", :boot_cmd_sequence => [ '<Tab> linux text biosdevname=0 ks=http://%IP%:%PORT%/ks.cfg<Enter><Enter>' ],
View
7 templates/Fedora-18-x86_64/postinstall.sh
@@ -4,13 +4,17 @@ date > /etc/vagrant_box_build_time
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
-yum -y update
+# Must exclude kernel for now. Otherwise, kernel gets upgraded before reboot,
+# but VirtualBox tools get compiled against the old kernel, so the fresh
+# image will refuse to start under Vagrant.
+yum -y update --exclude kernel*
yum -y install \
ruby \
ruby-devel \
puppet \
rubygems \
+ rubygem-bunny \
rubygem-erubis \
rubygem-highline \
rubygem-json \
@@ -18,6 +22,7 @@ yum -y install \
rubygem-net-ssh \
rubygem-polyglot \
rubygem-rest-client \
+ rubygem-systemu \
rubygem-treetop \
rubygem-uuidtools \
wget \
Please sign in to comment.
Something went wrong with that request. Please try again.