User Tools

Site Tools


hosts:user_vms

User VMs

We can make user VMs for people on request. Whether or not a donation is needed is pretty much admin discretion.

Currently, we do this by making an LXC container or VM in Proxmox.

  1. Access the proxmox interface by executing ssh tardisproject.uk -L 8006:rubicon.internal.tardisproject.uk:8006 and going to localhost:8006
  2. Login with the root password found in the admin vaultwarden
  3. Create a VM or container from the top right. Ensure the following settings are set:
    1. The resource pool should be unmanaged
    2. The network should be bridged to vmbr1, and DHCP should be used
    3. Optionally set rate limiting, etc.
  4. Run through the installer
    1. Setup a user account
      1. Use the same username as the one on their tardis account.
      2. Give wheel or other way to root.
    2. Setup tardis-admin account
      1. Give wheel or other way to root.
      2. Save the password in Vaultwarden
    3. Install qemu-guest-agent
  5. Detach the ISO from the CD/DVD drive (hardware section on VM)
  6. Restart the VM
  7. Give the user credentials to access.
    1. Use a temporary password w/ password SSH or authorized_keys
    2. Give them a sample SSH config:
Host tardis tardisproject tardisproject.uk sandbox sandbox.tardisproject.uk
    User [username]
    HostName tardisproject.uk
    # IdentityFile ~/.ssh/key

Host tardis-vm
    User [username]
    HostName [VM IP]
    ProxyJump tardis
    # IdentityFile ~/.ssh/key

See also:

hosts/user_vms.txt · Last modified: by merlin