mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-01-04 13:07:00 -06:00
Ensure dependency on ip tool is satisfied (#1681)
Additionally ensure that the default docker run commands allow vagrant to request user input by allocating a tty.
This commit is contained in:
parent
6bbde74be0
commit
07e4a69a50
@ -11,6 +11,7 @@ RUN apt update \
|
||||
curl \
|
||||
git \
|
||||
gosu \
|
||||
iproute2 \
|
||||
kmod \
|
||||
libvirt-clients \
|
||||
openssh-client \
|
||||
|
@ -81,7 +81,7 @@ docker pull vagrantlibvirt/vagrant-libvirt:latest
|
||||
|
||||
Running the image:
|
||||
```bash
|
||||
docker run -i --rm \
|
||||
docker run -it --rm \
|
||||
-e LIBVIRT_DEFAULT_URI \
|
||||
-v /var/run/libvirt/:/var/run/libvirt/ \
|
||||
-v ~/.vagrant.d:/.vagrant.d \
|
||||
@ -95,7 +95,7 @@ docker run -i --rm \
|
||||
It's possible to define a function in `~/.bashrc`, for example:
|
||||
```bash
|
||||
vagrant(){
|
||||
docker run -i --rm \
|
||||
docker run -it --rm \
|
||||
-e LIBVIRT_DEFAULT_URI \
|
||||
-v /var/run/libvirt/:/var/run/libvirt/ \
|
||||
-v ~/.vagrant.d:/.vagrant.d \
|
||||
|
Loading…
Reference in New Issue
Block a user