1. 20
  1. 10

    doas cu -l ttyV0

    One way to avoid running this as root is to create a separate device node with mknod(8) that a regular trusted user can access. For convenience this device node’s name can contain the hostname of the corresponding guest:

    $ ls -l /dev/ttyV2
    crw-------  1 root  wheel  - 127,   2 Apr 18 14:22 /dev/ttyV2
    $ ls -l /dev/tty-puffy         
    crw-rw----  1 root  stsp  - 127,   2 May 16 21:15 /dev/tty-puffy
    1. 5

      I’m using a T1000 with OpenBSD and several ldom guests, and it’s been great as a server. The spinning disk is bit slow, but I can live with that – when it dies I’m gonna try SSDs.

      I have a T5220 as well but there are compatibility issues with OpenBSD’s ldom implementation and the latest firmware for that machine. I hope to get that working at some point.

      1. 4

        I miss those old t2000’s and solaris back in the day, they were such well designed bits of hardware.

        1. 2

          Thanks, Sevan, for posting and for the invite. And thanks, stsp for some additional info. One other interesting things I found out is that you can give a VM an entire disk and it seems pretty happy.

          domain puffyseven {
                  vcpu 4
                  memory 6G
                  vdisk "/dev/sd3c"