LoginSignup
4

More than 5 years have passed since last update.

Vagrantに構築したゲストOS(Linux)のシステム日付を変更する方法

Last updated at Posted at 2015-01-14

ローカル環境で、vagrantを構築して、開発を行っていると、システム日付を変更したいときが発生しますね。

ただ、vagrantで構築していると、dateコマンドで変更しても、すぐに、ホストOSの時計と同期してしまう現象がおこってしまいます。

その場合、ゲストOSにログインして、以下のコマンドを叩くと、ホストOSとの同期が止まります。

service vboxadd-service stop

root権限で実行しましょう

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
4