dom0: default TemplateVM firewall: block all traffic and allow use of yum proxy (#590)
This commit is contained in:
parent
a8b992e647
commit
a528befbc4
@ -1565,6 +1565,9 @@ class QubesTemplateVm(QubesVm):
|
||||
def updateable(self):
|
||||
return True
|
||||
|
||||
def get_firewall_defaults(self):
|
||||
return { "rules": list(), "allow": False, "allowDns": False, "allowIcmp": False, "allowYumProxy": True }
|
||||
|
||||
def get_rootdev(self, source_template=None):
|
||||
return "'script:origin:{dir}/root.img:{dir}/root-cow.img,xvda,w',".format(dir=self.dir_path)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user