203 |
# for testing iso quickly |
# for testing iso quickly |
204 |
include libvirtd::kvm |
include libvirtd::kvm |
205 |
libvirtd::group_access { "mga-iso_makers": } |
libvirtd::group_access { "mga-iso_makers": } |
206 |
|
|
207 |
|
# to ease the creation of test iso |
208 |
|
$netinst_iso_path = "/var/lib/libvirt/netboot" |
209 |
|
|
210 |
|
libvirtd::storage { "netinst_iso": |
211 |
|
path => $netinst_iso_path, |
212 |
|
} |
213 |
|
|
214 |
|
libvirtd::download::netboot_images { "mandriva": |
215 |
|
path => $netinst_iso_path, |
216 |
|
versions => ["2010.0","2010.1"], |
217 |
|
archs => ['i586','x86_64'], |
218 |
|
mirror_path => "ftp://ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/official/%{version}/%{arch}/install/images/", |
219 |
|
files => ['boot.iso'], |
220 |
|
} |
221 |
|
|
222 |
} |
} |