User Tools

Site Tools


hosts:user_vms

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hosts:user_vms [2023/11/25 17:37] – created tcmalhosts:user_vms [2026/11/23 10:37] (current) – Update for best practices merlin
Line 5: Line 5:
 Currently, we do this by making an LXC container or VM in Proxmox. Currently, we do this by making an LXC container or VM in Proxmox.
  
-  - Access the proxmox interface by executing ''%%ssh tardisproject.uk -L 8006:canton.internal.tardisproject.uk:8006%%'' and going to ''localhost:8006''+  - Access the proxmox interface by executing ''%%ssh tardisproject.uk -L 8006:rubicon.internal.tardisproject.uk:8006%%'' and going to ''localhost:8006''
   - Login with the root password found in the admin vaultwarden   - Login with the root password found in the admin vaultwarden
   - Create a VM or container from the top right. Ensure the following settings are set:   - Create a VM or container from the top right. Ensure the following settings are set:
Line 11: Line 11:
     - The network should be bridged to ''vmbr1'', and DHCP should be used     - The network should be bridged to ''vmbr1'', and DHCP should be used
     - Optionally set rate limiting, etc.     - Optionally set rate limiting, etc.
-  - See also:+  - Run through the installer 
 +    - Setup a user account 
 +      - Use the same username as the one on their tardis account. 
 +      - Give ''wheel'' or other way to root. 
 +    - Setup ''tardis-admin'' account 
 +      - Give ''wheel'' or other way to root. 
 +      - Save the password in [[https://pw.tardisproject.uk|Vaultwarden]] 
 +    - Install ''qemu-guest-agent'' 
 +  - Detach the ISO from the CD/DVD drive (hardware section on VM) 
 +  - Restart the VM 
 +  - Give the user credentials to access.  
 +    - Use a temporary password w/ password SSH or ''authorized_keys'' 
 +    - Give them a sample SSH config: 
 +<file> 
 +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 
 +</file> 
 + 
 +===== See also: =====
     - [[https://pve.proxmox.com/wiki/Linux_Container|Proxmox LXC docs]]     - [[https://pve.proxmox.com/wiki/Linux_Container|Proxmox LXC docs]]
     - [[https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines|Proxmox VM docs]]     - [[https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines|Proxmox VM docs]]
hosts/user_vms.1700933875.txt.gz · Last modified: by tcmal