Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@hmlab-git
Last active December 25, 2019 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hmlab-git/86d5c93ec3fc5d5283a1afdbbdee1cd0 to your computer and use it in GitHub Desktop.
Save hmlab-git/86d5c93ec3fc5d5283a1afdbbdee1cd0 to your computer and use it in GitHub Desktop.
cat $1 | while read IP
do
ssh -i <秘密鍵ファイル> <公開鍵を設定したiDRACユーザーID>@$IP RACADM serveraction powerup
sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment