Commit 18ffebfb authored by Christopher Huhn's avatar Christopher Huhn
Browse files

Fix default dir for flavored nfsroot-hooks

parent 9f63556e
......@@ -4,7 +4,7 @@ maintainer_email "hpc@gsi.de"
license "All rights reserved"
description "Installs/Configures fai"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.9.0"
version "0.9.1"
depends "nfs"
source_url 'https://git.gsi.de/chef/cookbooks/fai'
......
......@@ -71,7 +71,7 @@ node['fai']['flavors'].each do |f, config|
# install kernel into a flavor specific subdir for distinction:
:tftpdir => tftpdir,
:arch => "--arch " + arch,
:hookdir => config['hookdir'] || "/etc/fai/#{f}/nfsroot-hooks/"
:hookdir => config['hookdir'] || "/etc/fai/flavors/#{f}/nfsroot-hooks/"
})
mode 0644
notifies :run, "execute[update-#{f}-nfsroot]"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment