質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -297,3 +297,71 @@
|
|
297
297
|
色々と試したりググったりしましたが解決方法がわかりません。。。
|
298
298
|
|
299
299
|
どうすればいいのでしょうか、、、、
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
## 追記
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
Vagrantfileに`config.vm.network "forwarded_port", guest: 80, host: 8000`を追記したらブラウザから確認することができました。しかし、起動時のエラーが消えないのと、共有フォルダの設定がうまく行きません。以下、エラー内容です。
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
```
|
312
|
+
|
313
|
+
==> default: Configuring and enabling network interfaces...
|
314
|
+
|
315
|
+
The following SSH command responded with a non-zero exit status.
|
316
|
+
|
317
|
+
Vagrant assumes that this means the command failed!
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
# Down the interface before munging the config file. This might
|
322
|
+
|
323
|
+
# fail if the interface is not actually set up yet so ignore
|
324
|
+
|
325
|
+
# errors.
|
326
|
+
|
327
|
+
/sbin/ifdown 'enp0s8'
|
328
|
+
|
329
|
+
# Move new config into place
|
330
|
+
|
331
|
+
mv -f '/tmp/vagrant-network-entry-enp0s8-1488537141-0' '/etc/sysconfig/network-scripts/ifcfg-enp0s8'
|
332
|
+
|
333
|
+
# attempt to force network manager to reload configurations
|
334
|
+
|
335
|
+
nmcli c reload || true
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
# Restart network
|
340
|
+
|
341
|
+
service network restart
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
Stdout from the command:
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
Restarting network (via systemctl): [FEHLGESCHLAGEN]
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
Stderr from the command:
|
358
|
+
|
359
|
+
|
360
|
+
|
361
|
+
Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details.
|
362
|
+
|
363
|
+
```
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
何が原因でこんなことが起こっているのでしょうか、、、
|