Commit 76779c21 authored by Dennis Klein's avatar Dennis Klein
Browse files

support flavor-specific hookdir

parent 36e58749
......@@ -4,5 +4,5 @@ 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.7.0"
version "0.7.1"
depends "nfs"
......@@ -63,7 +63,7 @@ node.fai.flavors.each do |f, config|
# install kernel into a flavor specific subdir for distinction:
:tftpdir => tftpdir,
:arch => "--arch " + arch,
:hookdir => '/etc/fai/nfsroot-hooks/'
:hookdir => config['hookdir'] || '/etc/fai/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