core-admin/qubes/vm/templatevm.py
Wojtek Porczyk 41fef46db2 core3 move: QubesVM
This is a big commit and probably incomplete. Tests will follow.
2015-06-29 17:39:24 +02:00

14 lines
342 B
Python

#!/usr/bin/python2 -O
import qubes
import qubes.vm.qubesvm
class TemplateVM(qubes.vm.qubesvm.QubesVM):
'''Template for AppVM'''
def __init__(self, D):
super(TemplateVM, self).__init__(D)
# Some additional checks for template based VM
assert self.root_img is not None, "Missing root_img for standalone VM!"