質問編集履歴
1
「仮想サーバーが起動中」という文言を「`vagrant status`で確認すると仮想サーバーは既に起動している」に変更した
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
初回は`vagrant up`で仮想サーバーを構築し
|
7
7
|
`vagrant ssh`で仮想サーバーに接続できるが
|
8
8
|
`vagrant reload`すると仮想サーバーに接続できなくなる
|
9
|
-
仮想サーバーは起動
|
9
|
+
`vagrant status`で確認すると仮想サーバーは既に起動している
|
10
10
|
```
|
11
11
|
❯ vagrant reload
|
12
12
|
==> default: [vagrant-hostsupdater] Removing hosts
|
@@ -31,7 +31,17 @@
|
|
31
31
|
default: SSH auth method: private key
|
32
32
|
default: Warning: Connection reset. Retrying...
|
33
33
|
```
|
34
|
+
```
|
35
|
+
❯ vagrant status
|
36
|
+
Current machine states:
|
34
37
|
|
38
|
+
default running (virtualbox)
|
39
|
+
|
40
|
+
The VM is running. To stop this VM, you can run `vagrant halt` to
|
41
|
+
shut it down forcefully, or you can run `vagrant suspend` to simply
|
42
|
+
suspend the virtual machine. In either case, to restart it again,
|
43
|
+
simply run `vagrant up`.
|
44
|
+
```
|
35
45
|
### 該当のソースコード
|
36
46
|
Vagrantfileです
|
37
47
|
```
|