Skip to content

工作心得

Recent Posts

  • certbot auto renew
  • Oracle Linux local mirror
  • 使用Arduino Nano燒錄ATtiny13A韌體備忘
  • Raspberry Pi 3B+ 安裝 DS3231 RTC備忘
  • Ubuntu 20.04透過wine安裝LINE完整版

Recent Comments

  • flight on Build(Customize) Windows QEMU Guest Agent

Archives

  • February 2022
  • October 2021
  • September 2021
  • August 2021
  • April 2021
  • February 2021
  • December 2020
  • November 2020
  • August 2020
  • July 2020
  • November 2019
  • June 2018
  • April 2018
  • December 2017
  • November 2017
  • January 2017
  • November 2016
  • June 2016
  • December 2014
  • August 2014
  • July 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013

Categories

  • buildroot
  • Ceph
  • Desktop
  • KVM
  • Linux
  • Raspberry Pi
  • Server相關
  • Test
  • Uncategorized
  • VMware
  • Windows
  • XenServer
  • ZFS學習
  • 單晶片學習
  • 常用工具備忘
  • 網路設備

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Month: January 2017

XenServer 6.x/7.x 更新patch script

#!/bin/bash
PATCH=(
XS70E002
XS70E003
XS70E004
XS70E006
XS70E007
XS70E008
XS70E009
XS70E010
XS70E011
XS70E012
XS70E013
XS70E014
XS70E015
XS70E016
XS70E017
XS70E019
XS70E020
XS70E021
XS70E022
XS70E023
)

for i in ${PATCH[@]};do
  PATCH_UUID=`xe patch-upload file-name=$i.xsupdate`
  echo $PATCH_UUID
  xe patch-pool-apply uuid=$PATCH_UUID
done

 

Posted on 2017-01-06Categories XenServerLeave a comment on XenServer 6.x/7.x 更新patch script
Proudly powered by WordPress