Create the patch:
diff -aru file.orig file > file.patch
Apply the patch (-b creates a copy of the original with a .orig extension):
patch -b file file.patch
Create the patch:
diff -aru file.orig file > file.patch
Apply the patch (-b creates a copy of the original with a .orig extension):
patch -b file file.patch
First of all, great script. I have been able to migrate some VMs from Xen6.1 to Xen6.2, but I am having some issues moving my last batch. I am getting the following error: Any help is highly appreciated.
if not self._add_tag(vdi_uuid, writable):
File “/opt/xensource/sm/blktap2.py”, line 1298, in _add_tag
term_output=False, writable=writable):
File “/opt/xensource/sm/resetvdis.py”, line 65, in reset_vdi
except XenAPI.Failure, e:
NameError: global name ‘XenAPI’ is not defined