equal
deleted
inserted
replaced
206 |
206 |
207 vagrant provision --provision-with user_ssh |
207 vagrant provision --provision-with user_ssh |
208 vagrant provision --provision-with root_ssh |
208 vagrant provision --provision-with root_ssh |
209 vagrant provision --provision-with user_ssh,root_ssh |
209 vagrant provision --provision-with user_ssh,root_ssh |
210 |
210 |
|
211 Copying files |
|
212 ============= |
|
213 |
|
214 To copy files recursively to running box:: |
|
215 |
|
216 vagrant upload $SRC $DST |
|
217 vagrant upload $SRC $DST $BOXID |
|
218 |
|
219 To copy to ``/home/vagrant``:: |
|
220 |
|
221 vagrant upload $SRC . |
|
222 vagrant upload $SRC . $BOXID |
|
223 |
|
224 To copy to ``/home/vagrant/$DIR``:: |
|
225 |
|
226 vagrant upload $SRC $DIR |
|
227 vagrant upload $SRC $DIR $BOXID |
|
228 |
|
229 https://www.vagrantup.com/docs/cli/upload.html |
|
230 Uploads files and directories from the host to the guest machine. |
|
231 |
|
232 There is 3rd patry option with:: |
|
233 |
|
234 vagrant plugin install vagrant-scp |
|
235 vagrant scp $SRC :$DST |
|
236 vagrant scp $SRC $BOXID:$DST |
|
237 |
211 Working with Alpine Linux |
238 Working with Alpine Linux |
212 ========================= |
239 ========================= |
213 |
240 |
214 Install plugin:: |
241 Install plugin:: |
215 |
242 |