2022-01-23 16:49:23 +01:00
|
|
|
cp guest/bin/* /usr/local/bin
|
2022-01-30 02:29:55 +01:00
|
|
|
|
2022-02-06 09:24:04 +01:00
|
|
|
mkdir -p /usr/local/share/pbot-vm/
|
2022-01-23 16:49:23 +01:00
|
|
|
cp -r guest/lib/Languages/ /usr/local/share/pbot-vm/
|
2022-01-30 02:29:55 +01:00
|
|
|
|
2022-01-23 16:49:23 +01:00
|
|
|
cp guest/include/prelude.h /usr/include
|
|
|
|
|
2022-01-30 02:29:55 +01:00
|
|
|
cp guest/polkit/* /etc/polkit-1/rules.d/
|
|
|
|
|
2022-01-30 02:44:03 +01:00
|
|
|
nmcli networking off
|
|
|
|
|
2022-02-06 09:24:04 +01:00
|
|
|
if ! grep -qF "pbot-vm" /root/.bashrc; then
|
|
|
|
echo '# pbot-vm' >> /root/.bashrc
|
|
|
|
echo unset DEBUGINFOD_URLS >> /root/.bashrc
|
|
|
|
echo export ASAN_OPTIONS=detect_leaks=0 >> /root/.bashrc
|
|
|
|
fi
|
2022-01-23 16:49:23 +01:00
|
|
|
|
2022-01-30 02:44:03 +01:00
|
|
|
echo PBot Guest VM is now set up.
|
|
|
|
echo
|
|
|
|
echo !! Networking is now disabled. To re-enable networking run: nmcli networking on
|
|
|
|
echo
|
|
|
|
echo For changes to take effect, run this command now: source /root/.bashrc
|