1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 from VMBuilder.util import run_cmd
21 import VMBuilder.plugins
22
23 -class Distro(VMBuilder.plugins.Plugin):
25 """Install the distro into destdir"""
26 raise NotImplemented('Distro subclasses need to implement the has_xen_support method')
27
29 """Install the distro into destdir"""
30 raise NotImplemented('Distro subclasses need to implement the install method')
31
32 - def post_mount(self, fs):
33 """Called each time a filesystem is mounted to let the distro add things to the filesystem"""
34
36 """Let the distro copy the install logfile to the guest"""
37