예제 #1
0
파일: machine.py 프로젝트: rick68/nixpkgs
 def cleanup_statedir(self) -> None:
     shutil.rmtree(self.state_dir)
     rootlog.log(f"deleting VM state directory {self.state_dir}")
     rootlog.log("if you want to keep the VM state, pass --keep-vm-state")
예제 #2
0
파일: machine.py 프로젝트: rick68/nixpkgs
 def log(self, msg: str) -> None:
     rootlog.log(msg, {"machine": self.name})