Commit 62936d6c authored by James T. Lee's avatar James T. Lee
Browse files

zfs: Create /etc/hostid

parent 0659e091
...@@ -26,6 +26,14 @@ class nest::profile::base::zfs { ...@@ -26,6 +26,14 @@ class nest::profile::base::zfs {
; ;
} }
exec { 'zgenhostid':
command => 'zgenhostid `hostid`',
creates => '/etc/hostid',
path => '/usr/bin:/bin',
require => Package['sys-fs/zfs'],
notify => Class['::nest::profile::base::dracut'],
}
file { '/usr/lib/dracut/modules.d/90zfs/zfs-load-key.sh': file { '/usr/lib/dracut/modules.d/90zfs/zfs-load-key.sh':
mode => '0755', mode => '0755',
owner => 'root', owner => 'root',
......
Markdown is supported
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