bbfdm/gitlab-ci/setup.sh
2023-03-28 16:18:10 +02:00

17 lines
317 B
Bash
Executable file

#!/bin/bash
echo "preparation script"
pwd
# link '/bin/sh' to bash instead of dash
ln -sf bash /bin/sh
cp -r ./test/files/etc/* /etc/
cp -r ./test/files/usr/* /usr/
cp -r ./test/files/var/* /var/
cp -r ./test/files/tmp/* /tmp/
cp -r ./test/files/lib/* /lib/
apt update && apt install -y iproute2
ls /etc/config/