{"id":212,"date":"2016-09-24T19:29:04","date_gmt":"2016-09-25T02:29:04","guid":{"rendered":"http:\/\/rln.d13dns.com\/?p=212"},"modified":"2016-09-24T19:29:04","modified_gmt":"2016-09-25T02:29:04","slug":"apply-xen-server-patches-in-bulk","status":"publish","type":"post","link":"https:\/\/randomlinuxnotes.d13.com\/?p=212","title":{"rendered":"apply xen server patches in bulk"},"content":{"rendered":"<p>download a bunch of the buggers<\/p>\n<pre>\n\nfor file in XS*.zip;do foo=`basename -s .zip $file`; unzip $file; bar=`xe patch-upload file-name=${foo}.xsupdate`;xe patch-apply uuid=$bar host-uuid=YOUR_HOST_UUID;done\n\n<\/pre>\n<p>you&#8217;ll probably want to add an rm of the zip file and an rm of the xsupdate file (exercise for the reader)<\/p>\n<p>This won&#8217;t work for XS70E002 and XS70E003 until you apply XS70E004 (read the release notes).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>download a bunch of the buggers for file in XS*.zip;do foo=`basename -s .zip $file`; unzip $file; bar=`xe patch-upload file-name=${foo}.xsupdate`;xe patch-apply uuid=$bar host-uuid=YOUR_HOST_UUID;done you&#8217;ll probably want to add an rm of the zip file and an rm of the xsupdate file (exercise for the reader) This won&#8217;t work for XS70E002 and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[154,155,157,158],"class_list":["post-212","post","type-post","status-publish","format-standard","hentry","category-rln","tag-xapi","tag-xcp","tag-xe","tag-xen"],"_links":{"self":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=212"}],"version-history":[{"count":0,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/212\/revisions"}],"wp:attachment":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}