additional bash programming to support a json configuration file.
still working on kernel options for proper networking.
This commit is contained in:
13
scripts/install_dependencies.sh
Executable file
13
scripts/install_dependencies.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#install dependencies
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "switching from $(id -un) to root"
|
||||
exec sudo "$0" "$@"
|
||||
fi
|
||||
set -e
|
||||
list="kpartx podman debootstrap "
|
||||
apt update
|
||||
for item in $list; do
|
||||
apt install -y $item
|
||||
done
|
||||
cd "$(dirname "$0")"
|
||||
find . -type f -name "*" -exec chmod +x {} +
|
||||
Reference in New Issue
Block a user