upvote
Nice. I just have

  sudo useradd agent

  sudo su agent
So it can blow up its own files, but not mine.

It was also doing some kind of headless Chrome stuff in there. I don't know how that works, but it was taking screenshots iirc.

I did also set up VNC at some point but didn't find it worth using.

>If it makes a mess, I can dump and reinstall in seconds.

This is also true of a $3 VPS, where I found it very amusing to give my agent root. What's the worst that could happen ;)

reply
You can run macOS in a VM guest on a Mac host; Apple explicitly allows this.
reply
[flagged]
reply
Nice to give Claude their own blue bubble iMessage. Can be done in a VM of course if you have the capacity, but old Apple hardware seems to accumulate for many.
reply
This is neat, and thank you for sharing!

I've been wanting to set up something exactly like this for my own use, but... You know, time is limited.

This is just enough scaffolding to have a little project for Monday morning!

reply
There are many ways and tools on linux to get a "VM" up and running. But with libvirt you can easy script out what the initial environment and network stack is. The heart of it is just running the 'virt-install' command, but as you can see I've got a bunch of other opinionated stuff going on before that.
reply
You mean you had claude throw together a script because this is heavily generated. Lost interest after about 250 lines, it's just tiresome reading through this incoherent amalgamation
reply
I don't know what sort of shell scripts you've had to review in your day... I used to get far worse shell scripts, assuredly
reply
Yeah bro, you can just use AI!
reply