Code Monkey home page Code Monkey logo

hdmupdate's Introduction

HDMUpdate

cli update the HDM firmware

批量更新服务器的HDM固件,因此写了一个小cli工具

h3c 服务器批量更新服务器的HDM固件,需要自行搭建一个tftp 编译

cd $GOPATH
git clone https://github.com/zhangguanzhang/HDMUpdate.git
cd HDMUpdate
go build .

命令帮助

main.exe
Error: required flag(s) "tftp" not set
Usage:
  HDMUpdate [flags]

Flags:
  -f, --filename string      the HDM bin filename from the tftp root path
  -h, --help                 help for HDMUpdate
  -p, --password string      HDM login password (default "Password@_")
      --processlimit uint8   update process limit (default 1)
  -t, --tftp string          HDM get bin file from the tftp ip
  -u, --user string          HDM login user (default "admin")

使用tftp 10.0.23.39上的HDM-1.11.29_signed.bin去更新10.0.23.34的固件

main.exe -t 10.0.23.39 -f HDM-1.11.29_signed.bin 10.0.23.34

批量并发2个更新

main.exe -t 10.0.23.39 -f HDM-1.11.29_signed.bin --processlimit 2 10.0.23.34 10.0.23.35 10.0.23.36

hdmupdate's People

Contributors

zhangguanzhang avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.