Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Initial support for tuned #206

Open
wants to merge 2 commits into
base: lwade-patch-1
Choose a base branch
from
Open
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
4 changes: 4 additions & 0 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@
not_if "ls /etc/yum.repos.d/elrepo*"
end

yum_package 'tuned' do
action :install
end

execute "ssh-keygen -f /root/.ssh/id_rsa -P ''" do
not_if "ls /root/.ssh/id_rsa"
end
Expand Down
5 changes: 5 additions & 0 deletions recipes/node-controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
include_recipe "eucalyptus::eucanetd"
end

## Install tuned profile
execute "Setting tuned profile" do
command "tuned-adm profile virtual-host"
end

## Setup Bridge
template "/etc/sysconfig/network-scripts/ifcfg-" + node["eucalyptus"]["network"]["bridged-nic"] do
source "ifcfg-eth.erb"
Expand Down