3
0
mirror of https://github.com/pragma-/pbot.git synced 2026-02-20 08:18:00 +01:00

Important files somehow.

This commit is contained in:
Alex Belanger 2024-03-12 01:58:44 -04:00
parent ef26b39658
commit 6587771348
No known key found for this signature in database
GPG Key ID: 31736D2B10A5F158

View File

@ -26,6 +26,11 @@ RUN sed -i -e "s/\/etc\/polkit-1\/rules.d\//\/usr\/share\/polkit-1\/rules.d\//g"
# Give well-known host as CID.
RUN sed -i -e "s/\"cid\" : 7,/\"cid\" : 2,/g" /opt/pbot/applets/pbot-vm/host/config/vm-exec.json
# Permissions on some folders.
RUN chmod 777 /opt/pbot/applets/pbot-vm/host/history
RUN touch /opt/pbot/applets/pbot-vm/host/log.txt
RUN chmod 666 /opt/pbot/applets/pbot-vm/host/log.txt
# Setup the guest.
RUN cd /opt/pbot/applets/pbot-vm && ./guest/bin/setup-guest