質問編集履歴

2

vagrantfileを追記します

2019/06/18 21:09

投稿

taboopython
taboopython

スコア40

test CHANGED
File without changes
test CHANGED
@@ -43,3 +43,153 @@
43
43
 
44
44
 
45
45
  なお、環境はwindows10、virtualBoxvirtualBoxインストール済みです。
46
+
47
+
48
+
49
+ vagrantfileの更新内容
50
+
51
+ ```python
52
+
53
+ # -*- mode: ruby -*-
54
+
55
+ # vi: set ft=ruby :
56
+
57
+
58
+
59
+ # All Vagrant configuration is done below. The "2" in Vagrant.configure
60
+
61
+ # configures the configuration version (we support older styles for
62
+
63
+ # backwards compatibility). Please don't change it unless you know what
64
+
65
+ # you're doing.
66
+
67
+ Vagrant.configure("2") do |config|
68
+
69
+ # The most common configuration options are documented and commented below.
70
+
71
+ # For a complete reference, please see the online documentation at
72
+
73
+ # https://docs.vagrantup.com.
74
+
75
+
76
+
77
+ # Every Vagrant development environment requires a box. You can search for
78
+
79
+ # boxes at https://vagrantcloud.com/search.
80
+
81
+ config.vm.box = "ubuntu/xenial64"
82
+
83
+
84
+
85
+ # Disable automatic box update checking. If you disable this, then
86
+
87
+ # boxes will only be checked for updates when the user runs
88
+
89
+ # `vagrant box outdated`. This is not recommended.
90
+
91
+ # config.vm.box_check_update = false
92
+
93
+
94
+
95
+ # Create a forwarded port mapping which allows access to a specific port
96
+
97
+ # within the machine from a port on the host machine. In the example below,
98
+
99
+ # accessing "localhost:8080" will access port 80 on the guest machine.
100
+
101
+ # NOTE: This will enable public access to the opened port
102
+
103
+ # config.vm.network "forwarded_port", guest: 80, host: 8080
104
+
105
+
106
+
107
+ # Create a forwarded port mapping which allows access to a specific port
108
+
109
+ # within the machine from a port on the host machine and only allow access
110
+
111
+ # via 127.0.0.1 to disable public access
112
+
113
+ # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
114
+
115
+
116
+
117
+ # Create a private network, which allows host-only access to the machine
118
+
119
+ # using a specific IP.
120
+
121
+ # config.vm.network "private_network", ip: "192.168.33.10"
122
+
123
+
124
+
125
+ # Create a public network, which generally matched to bridged network.
126
+
127
+ # Bridged networks make the machine appear as another physical device on
128
+
129
+ # your network.
130
+
131
+ # config.vm.network "public_network"
132
+
133
+
134
+
135
+ # Share an additional folder to the guest VM. The first argument is
136
+
137
+ # the path on the host to the actual folder. The second argument is
138
+
139
+ # the path on the guest to mount the folder. And the optional third
140
+
141
+ # argument is a set of non-required options.
142
+
143
+ # config.vm.synced_folder "../data", "/vagrant_data"
144
+
145
+
146
+
147
+ # Provider-specific configuration so you can fine-tune various
148
+
149
+ # backing providers for Vagrant. These expose provider-specific options.
150
+
151
+ # Example for VirtualBox:
152
+
153
+ #
154
+
155
+ # config.vm.provider "virtualbox" do |vb|
156
+
157
+ # # Display the VirtualBox GUI when booting the machine
158
+
159
+ # vb.gui = true
160
+
161
+ #
162
+
163
+ # # Customize the amount of memory on the VM:
164
+
165
+ # vb.memory = "1024"
166
+
167
+ # end
168
+
169
+ #
170
+
171
+ # View the documentation for the provider you are using for more
172
+
173
+ # information on available options.
174
+
175
+
176
+
177
+ # Enable provisioning with a shell script. Additional provisioners such as
178
+
179
+ # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
180
+
181
+ # documentation for more information about their specific syntax and use.
182
+
183
+ # config.vm.provision "shell", inline: <<-SHELL
184
+
185
+ # apt-get update
186
+
187
+ # apt-get install -y apache2
188
+
189
+ # SHELL
190
+
191
+ end
192
+
193
+
194
+
195
+ ```

1

コードをコード用で表示し直しました

2019/06/18 21:09

投稿

taboopython
taboopython

スコア40

test CHANGED
File without changes
test CHANGED
@@ -3,6 +3,8 @@
3
3
  元もとは以下のようなエラーが出てたため、以下にある<対応したこと>を実行したもののなかなかうまくいきません。原因や対応方法がおわかりになる方がいらっしゃいましたらご教示いただければ幸いです。
4
4
 
5
5
 
6
+
7
+ ```python
6
8
 
7
9
  The box 'ubuntu/xenia164' could not be found or
8
10
 
@@ -13,6 +15,8 @@
13
15
  `vagrant login`. Also, please double-check the name. The expanded
14
16
 
15
17
  URL and error message are shown below:
18
+
19
+ ```
16
20
 
17
21
 
18
22