<div dir="ltr"><div dir="ltr">The way I would probably tackle that one is by executing via remote command the snapshot - this will have to be a bespoke script which is written on this machine which can speak to the API of your vcenter. I would be using something like pyvmomi to do the execution of the snapshot, and once thats completed to do the patch work of the machine via the remote command too. If your hostname matches your vmware name then you could do something smarter, but you may need to change the script for each host.<div><br></div><div><a href="https://github.com/vmware/pyvmomi">https://github.com/vmware/pyvmomi</a><br></div><div><br></div><div>There is probably better ways of doing this, and cleaner ways. But this is something that I would think about doing this off the top of my head.</div><div><br></div><div>I hope this helps</div><div><br></div><div>Ray </div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Nov 24, 2018 at 5:26 PM Casey Gadd <<a href="mailto:CaseyG@okpud.org">CaseyG@okpud.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_2693916413702643733WordSection1">
<p class="MsoNormal">Is there any way to create snapshots before the patch process? We are using VMware.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-size:14.0pt;font-family:"Times New Roman",serif">--<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:14.0pt;font-family:"Times New Roman",serif">Casey H Gadd, M.S.<u></u><u></u></span></b></p>
<p class="MsoNormal"><i><span style="font-family:"Times New Roman",serif">Information Systems Technician<u></u><u></u></span></i></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif">Office:      (509) 422-8495<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif">Cell:          (509) 560-0668<u></u><u></u></span></p>
<p class="MsoNormal"><i><span style="font-family:"Times New Roman",serif"><u></u> <u></u></span></i></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif">Okanogan County Public Utility District No. 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif">1331 Second Ave. N.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif">Okanogan, WA 98840<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>