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