mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-18 01:49:53 +01:00
33 lines
911 B
Bash
Executable File
33 lines
911 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# File: debian-trixie
|
|
#
|
|
# Purpose: Provisioning script to install packages and set-up environment
|
|
# on Debian Testing (trixie) for pbot-vm.
|
|
|
|
# SPDX-FileCopyrightText: 2024 Pragmatic Software <pragma78@gmail.com>
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
apt update
|
|
|
|
# for virt-io socket
|
|
apt install -y socat
|
|
|
|
# for `cc` C language support
|
|
apt install -y libubsan1 libasan8 gdb gcc gcc-multilib clang
|
|
|
|
# for `cc` additional languages
|
|
apt install -y ksh zsh tcl lua5.4 php8.2-cli nodejs guile3.0 beef bc g++
|
|
apt install -y clisp golang-go
|
|
apt install -y --no-install-recommends default-jre default-jdk
|
|
|
|
# for pbot-vm guest-server support
|
|
apt install -y --no-install-recommends libipc-run-perl libjson-xs-perl
|
|
|
|
# disable networking
|
|
./guest/bin/network off iptables
|
|
|
|
echo 'Networking disabled.'
|
|
echo 'To re-enable, run ./guest/bin/network on iptables'
|
|
echo 'To disable again, run ./guest/bin/network off iptables'
|