Trying to fix the VMs.

This commit is contained in:
Alex Belanger 2024-03-12 00:13:06 -04:00
parent 7d919450af
commit 534a861298
No known key found for this signature in database
GPG Key ID: 31736D2B10A5F158
3 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
#/bin/bash
#!/bin/bash
socat -d -d pty,raw,link=/tmp/ttyS2,echo=0 pty,raw,link=/tmp/ttyS2x,echo=0 &
socat -d -d pty,raw,link=/tmp/ttyS3,echo=0 pty,raw,link=/tmp/ttyS3x,echo=0 &
guest-server &
/opt/pbot/applets/pbot-vm/docker-server &
/opt/pbot/applets/pbot-vm/vm-server
/opt/pbot/applets/pbot-vm/host/bin/docker-server &
/opt/pbot/applets/pbot-vm/host/bin/vm-server

View File

@ -95,7 +95,7 @@ sub do_server() {
return;
}
while ($running and my $client = $server->accept) {
while (my $client = $server->accept) {
print '-' x 20, "\n";
my $hostinfo = gethostbyaddr($client->peeraddr);
print "Connect from ", $client->peerhost, " at ", scalar localtime, "\n";

View File

@ -9,7 +9,7 @@ spec:
selector:
matchLabels:
app: candide-vm
replicas: 3
replicas: 2
template:
metadata:
labels:
@ -24,4 +24,4 @@ spec:
memory: 100Mi
limits:
cpu: "0.5"
memory: 500Mi
memory: 200Mi