LoginSignup
3
0

More than 5 years have passed since last update.

CoreOS 利用時のGCE スタートアップスクリプトログ

Last updated at Posted at 2015-01-13

Google Compute Engine ではインスタンス起動時に実行するスタートアップスクリプトを指定できる.そのスタートアップスクリプトのログは,マニュアル によると

/var/log/startupscript.log

にあると書かれている.しかし,CoreOS の場合,Systemd を用いてスタートアップスクリプトを起動しているので,ログの取得には journalctl を使う.スタートアップスクリプトのサービス名は google-startup-scripts.service なので,

$ sudo journalctl -u google-startup-scripts.service

にて取得できる.

3
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
3
0