mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 02:49:49 +01:00
compiler_vm: setup-guest now disables networking
This commit is contained in:
parent
575d82dd0e
commit
b55f675afe
@ -1,13 +1,19 @@
|
|||||||
cp guest/bin/* /usr/local/bin
|
cp guest/bin/* /usr/local/bin
|
||||||
|
|
||||||
mkdir /usr/local/share/pbot-vm/
|
mkdir /usr/local/share/pbot-vm/ > /dev/null
|
||||||
cp -r guest/lib/Languages/ /usr/local/share/pbot-vm/
|
cp -r guest/lib/Languages/ /usr/local/share/pbot-vm/
|
||||||
|
|
||||||
cp guest/include/prelude.h /usr/include
|
cp guest/include/prelude.h /usr/include
|
||||||
|
|
||||||
cp guest/polkit/* /etc/polkit-1/rules.d/
|
cp guest/polkit/* /etc/polkit-1/rules.d/
|
||||||
|
|
||||||
|
nmcli networking off
|
||||||
|
|
||||||
echo unset DEBUGINFOD_URLS >> /root/.bashrc
|
echo unset DEBUGINFOD_URLS >> /root/.bashrc
|
||||||
echo export ASAN_OPTIONS=detect_leaks=0 >> /root/.bashrc
|
echo export ASAN_OPTIONS=detect_leaks=0 >> /root/.bashrc
|
||||||
|
|
||||||
echo PBot Guest VM is now set up. For changes to take effect, run this command now: source /root/.bashrc
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user