Make sure to install libpython3.6 in the container
This commit is contained in:
parent
1f06847846
commit
cc28607662
|
@ -6,5 +6,5 @@ dir="$2"
|
|||
if [ "$cmd" == "create" ]; then
|
||||
debootstrap --include=systemd-container --include=libpython3.6 --include=racket --components=main,universe bionic "$dir" http://archive.ubuntu.com/ubuntu/
|
||||
elif [ "$cmd" == "boot" ]; then
|
||||
systemd-nspawn -D "$dir" --bind "$PWD:/router" -- /bin/bash -c "cd /router && scripts/run-tests.sh /router/build; bash"
|
||||
systemd-nspawn -D "$dir" --bind "$PWD:/router" -- /bin/bash -c "cd /router && scripts/run-tests.sh /router/build"
|
||||
fi
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
rm /etc/resolv.conf
|
||||
echo "nameserver 8.8.8.8" > /etc/resolv.conf
|
||||
apt install libpython3.6
|
||||
cd $1
|
||||
./sim --router ../router milestone
|
||||
|
|
Loading…
Reference in New Issue