この記事には、rc.local または local.sh ファイルを変更して起動プロセス中に VMware vSphere ESXi でコマンドを実行する方法が記載されています。このプロセスは、使用している VMware vSphere ESXi のバージョンによって異なります。
注: UEFI セキュア ブートが有効になっている場合、これらのオプションは使用できません。
Symptoms:
免責事項:これは英文の記事「Modifying the rc.local or local.sh file in VMware vSphere ESXi to execute commands while booting(324525)」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
VMware vSphere ESXi 8.0
VMware vSphere ESXi 7.0
VMware vSphere ESXi 6.7
VMware vSphere ESXi 6.5
#!/bin/sh # local configuration options # Note: modify at your own risk! If you do/use anything in this # script that is not part of a stable API (relying on files to be in # specific places, specific tools, specific output, etc) there is a # possibility you will end up with a broken system after patching or # upgrading. Changes are not supported unless under direction of # VMware support. # Note: This script will not be run when UEFI secure boot is enabled. esxcli network nic pauseParams set -n vmnic5 -a true exit 0
この例では、ユーザがvmnic5に対しフロー制御の自動ネゴシエーションを設定しています。
注: