--- title: '虛擬機更改時間' disqus: hackmd --- # Game server於虛擬機更改時間 由於VirtualBox是由Vagrant啟動,許多設定都必須從Vagrant下手。 * 到路徑 `D:\Venus\LOAM2\NS2BOX\` 找到檔案 Vagrantfile * 以文字檔開啟新增以下字串 ``` config.vm.define "loam2" do |machine| machine.vm.provider "virtualbox" do |vb| vb.customize ["setextradata", :id, "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled", 1] end end ```  * 開啟XShell連線後輸入 `# date -–set=”2019-10-01 15:10:00”` * 完成 :::info Vagrantfile參考連結:https://gist.github.com/kkkw/f628060e82b83f0bd63afe19b8a49ebc ::: ###### tags: `女神` `文件` {%hackmd BJrTq20hE %}
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up