質問編集履歴
1
Vagrantfileの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -7,6 +7,8 @@
|
|
7
7
|
**環境**
|
8
8
|
|
9
9
|
mac os
|
10
|
+
|
11
|
+
vagrant upでのエラー文
|
10
12
|
|
11
13
|
```
|
12
14
|
|
@@ -47,3 +49,35 @@
|
|
47
49
|
Error: Cannot retrieve repository metadata (repomd.xml) for repository: C6.1-base. Please verify its path and try again
|
48
50
|
|
49
51
|
```
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
Vagrantfile
|
56
|
+
|
57
|
+
初期設定のまま変更しておりません。
|
58
|
+
|
59
|
+
```
|
60
|
+
|
61
|
+
# -*- mode: ruby -*-
|
62
|
+
|
63
|
+
# vi: set ft=ruby :
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
Vagrant.configure(2) do |config|
|
68
|
+
|
69
|
+
config.vm.box = 'bento/centos-6.7'
|
70
|
+
|
71
|
+
config.vm.box_url = 'https://vagrantcloud.com/bento/boxes/centos-6.7/versions/2.2.2/providers/virtualbox.box'
|
72
|
+
|
73
|
+
config.vm.network 'forwarded_port', guest: 80, host: 8000, host_ip: '127.0.0.1'
|
74
|
+
|
75
|
+
config.vm.synced_folder '.', '/vagrant', disabled: true
|
76
|
+
|
77
|
+
config.vm.synced_folder '..', '/mnt/fuelphp', mount_options: ['dmode=777', 'fmode=666']
|
78
|
+
|
79
|
+
config.vm.provision :shell, path: 'bootstrap.sh'
|
80
|
+
|
81
|
+
end
|
82
|
+
|
83
|
+
```
|