LoginSignup
0
0

More than 5 years have passed since last update.

knife sshでのchef-clientの実行は--no-colorの方が見やすい

Posted at

colorオプションについて

--[no-]color Use colored output, defaults to false on Windows, true otherwise

Linux等ではデフォルトで--colorオプションがtrueになるようだが、これでWorkstationからknife ssh経由でchef-clientを実行したら変更点がわかりづらい。

--colorの場合

knife ssh "name:test-web01" "chef-client -W" --color

color.jpg

変更点がわかりづらい。

--no-colorの場合

knife ssh "name:test-web01" "chef-client -W" --no-color

nocolor.jpg

変更点がわかりやすい。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0