Last active
October 17, 2018 09:16
-
-
Save Liyuu8/5ef54476b4e0e4c91e1a28f7879b0972 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 起動 | |
$ vagrant ssh | |
# パッケージ更新 | |
vagrant@ubuntu-xenial:~$ sudo apt -y update | |
vagrant@ubuntu-xenial:~$ sudo apt -y upgrade | |
# ログアウト | |
vagrant@ubuntu-xenial:~$ exit | |
# シャットダウン | |
$ vagrant halt | |
# ゲストOSの状態を確認 | |
$ vagrant global-status | |
# ゲストOSのリロード | |
$ vagrant reload | |
# ゲストOSのバックアップ(引数:NAME) | |
$ vagrant snapshot save NAME | |
# スナップショット一覧の表示 | |
$ vagrant snapshot list | |
# ゲストOSの復元 | |
$ vagrant snapshot restore NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment