def stop(self, t=10): sudo_(s("lxc-stop -n ${self.name} -t ${t}"))
def destroy(self): self.stop(t=1) sudo_(s("lxc-destroy -n ${self.name} -f")) if exists(self.root): sudo(s("btrfs subvolume delete ${self.root}")) sudo_(s("rm -rf ${self.root}"))