diff options
Diffstat (limited to 'modules/libvirtd')
-rw-r--r-- | modules/libvirtd/manifests/init.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/libvirtd/manifests/init.pp b/modules/libvirtd/manifests/init.pp index 7dcf5fc4..8163010d 100644 --- a/modules/libvirtd/manifests/init.pp +++ b/modules/libvirtd/manifests/init.pp @@ -51,6 +51,12 @@ class libvirtd { content => template('libvirtd/50-template-libvirt-remote-access.pkla'), require => Package['libvirt-utils'], } + # give access to /dev/kvm to people allowed to use libvirt + file { '/dev/kvm': + group => $name, + owner => 'root', + mode => 660, + } } define storage($path, $autostart = true) { |