core-admin/qubes/vm/templatevm.py
2015-06-29 17:39:27 +02:00

15 lines
368 B
Python

#!/usr/bin/python2 -O
# vim: fileencoding=utf-8
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!"