(self, path: str)
Import vm-0 disk from a file (symmetric to export_vm0)
Import vm-0 disk from a file (symmetric to export_vm0)
Import vm - 0 disk from a file ( symmetric to export_vm0 )
def import_vm0(self, path: str):
        """Import vm-0 disk from a file (symmetric to export_vm0)"""
        subprocess.run(
            [
                "dd",
                f"of=/dev/{self.lvm_volume_group}/vm-0",
                f"if={path}",
                "bs=4k",
                "status=progress",
            ],
            check=True,
        )
def import_vm0 ( self , path : str ) : subprocess . run ( [ "dd" , f"of=/dev/{self.lvm_volume_group}/vm-0" , f"if={path}" , "bs=4k" , "status=progress" , ] , check = True , )