diff options
Diffstat (limited to 'modules/auto_installation')
-rw-r--r-- | modules/auto_installation/manifests/init.pp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/modules/auto_installation/manifests/init.pp b/modules/auto_installation/manifests/init.pp index 0e8bdcfd..2789cd6f 100644 --- a/modules/auto_installation/manifests/init.pp +++ b/modules/auto_installation/manifests/init.pp @@ -76,12 +76,23 @@ class auto_installation { # label # kernel # append + class netinst_storage { + # to ease the creation of test iso + $netinst_path = "/var/lib/libvirt/netinst" + + file { $netinst_path: + ensure => directory, + } + + libvirtd::storage { "netinst": + path => $netinst_path, + require => File[$netinst_path], + } + } # # define a template for autoinst # - basic installation # - server installation ( with server name as a parameter ) - - # TODO move here the downloader of boot.iso from libvirt module } |