Commit ad782302 authored by SIMONIN Matthieu's avatar SIMONIN Matthieu
Browse files

docker: fix qemu path

parent ac899175
......@@ -47,10 +47,12 @@ RUN make -j && make install
RUN rm -rf /app
ENV PATH=/opt/tansiv/usr/local/bin:$PATH
ENV QEMU=$(which qemu-system-x86_64)
ENV QEMU=/usr/local/bin/qemu-system-x86_64
# create an ssh key
RUN ssh-keygen -t rsa -P ""
# create an ssh key (not really usefull, we'd want our local key to be pushed
# inside the vm anyway)
RUN mkdir -p /root/.ssh
RUN ssh-keygen -t rsa -P '' -f /root/.ssh/id_rsa
WORKDIR /srv
......
......@@ -52,3 +52,9 @@ simgrid. Il faut:
./tansiv examples/qemus/nova_cluster.xml examples/qemus/deployment.xml --log=vm_interface.threshold:debug --log=vm_coordinator.threshold:debug
```
# Run in docker
WiP
```
docker run -v $(pwd):/srv --device /dev/net/tun --cap-add=NET_ADMIN -ti --entrypoint bash registry.gitlab.inria.fr/msimonin/2018-vsg/tansiv:9458b5c2
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment