templatevm.py 368 B

1234567891011121314
  1. #!/usr/bin/python2 -O
  2. # vim: fileencoding=utf-8
  3. import qubes
  4. import qubes.vm.qubesvm
  5. class TemplateVM(qubes.vm.qubesvm.QubesVM):
  6. '''Template for AppVM'''
  7. def __init__(self, D):
  8. super(TemplateVM, self).__init__(D)
  9. # Some additional checks for template based VM
  10. assert self.root_img is not None, "Missing root_img for standalone VM!"