Skip to content

Commit

Permalink
Fix issue #134 (#135)
Browse files Browse the repository at this point in the history
* Aligned armhfp ks on the x86_64 one

* Add architecture to basesearch for i386 image

* Set the default IO scheduler to noop (#124)

The best IO scheduler for a VM is noop, not the default cfq.  We have to
send the disk sectors to be written or read as fast as possible to the
host OS, which is the only one able to optimize and reorder the disk
operations considering the needs of all hosted VMs and other
applications that might be running.

The RedHat documentation also recommends noop for guest VMs, unless they
use dedicated raw partitions (not the case for Vagrant images).

* Add open-vm-tools to the images

Fixes issue #134

* Do not add open-vm-tools to centos/6

The package appears not to exist in CentOS Linux 6.

* Use the proper syntax for the services line
  • Loading branch information
lpancescu authored and kbsingh committed Sep 30, 2018
1 parent 881386c commit 986c2f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vagrant/centos7.ks
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ firewall --disabled
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone --utc UTC
services --enabled=vmtoolsd
# The biosdevname and ifnames options ensure we get "eth0" as our interface
# even in environments like virtualbox that emulate a real NW card
bootloader --timeout=1 --append="no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 elevator=noop"
Expand All @@ -32,6 +33,7 @@ cifs-utils
chrony
yum-utils
hyperv-daemons
open-vm-tools
-e2fsprogs
-btrfs-progs
# Vagrant boxes aren't normally visible, no need for Plymouth
Expand Down

0 comments on commit 986c2f7

Please sign in to comment.