#Proxmox Stuff

1 messages · Page 1 of 1 (latest)

void rapids
#

I'm gonna thread us here for a moment. Can you share some pictures?

latent turret
#

yeah hold on lemme open imgur

void rapids
#

Ah, you chose pre-enrolled keys for the EFI disk. That enables secure boot which you don't want.

#

Stop the VM. Re-create the EFI disk without that, then when booting press ESC in the Console to get into the boot mananager.
Device Manager > Secure Boot Configuration > Attempt Secure Boot > Deselect > ESC > ESC > Reset

latent turret
void rapids
#

That's why I said Stop.

#

Click the task, cancel it, then do a Stop.

#

Shutdown attempts to "press the shutdown button" but there's no one listening at this time

latent turret
#

Ah okey

#

okey im in bios now

void rapids
#

Perfect. Now ESC > ESC > Reset and it "should" work

latent turret
#
For processor I'd suggest changing the processor type to host (best performance and allows the VM to access the CPU's features such as AES and so on).
For the disk(s) you should disable pre-enrolled keys (also enables secure boot), enable discard (makes thin allocation work) and SSD emulation (feels right) if the storage is on one.
In options you should enable the guest agent (proper backups/snapshots, stats, shutdowns and so on) and disable tablet for pointer (wastes CPU).
Since you enabled pre-enrolled keys you might have to disable secure boot manually in the boot manager by pressing ESC while booting.```
void rapids
#

I'd recommend you apply the other settings I linked though

latent turret
#

just copying it here

void rapids
#

Hmm. Strange but okay

latent turret
#

Seems to be running now, lemme see if I can do those changes

void rapids
#

Some of them need a cold boot. You can see that by the orange color. Best done initially

latent turret
#
  1. Install PROXMOX

  2. Create a VM

https://www.youtube.com/watch?v=sZcOlW-DwrU&ab_channel=CraftComputing
https://ostechnix.com/import-qcow2-into-proxmox/

GENERAL > VM ID '101'
GENERAL > NAME 'HASS'
GENERAL > START AT BOOT

OS > DO NOT USE ANY MEDIA

SYSTEM > BIOS 'UEFI'
EFI DISK > TURN OFF PRE ENROLLED KEYS

SYSTEM > QEMU AGENT

CPU > CORES '4'
MEMORY > MEMORY '3072'

  1. Download .qcow2 and attach

Hardware Tab of VM

Detach Disk
Remove Disk

wget https://github.com/home-assistant/operating-system/releases/download/11.1/haos_ova-11.1.qcow2.xz
unxz haos_ova-11.1.qcow2.xz
qm disk import 101 haos_ova-11.1.qcow2 local-lvm

Hardware Tab of VM

Select Unused Disk
Edit and OK

Options

Add disk to Boot Order #1

  1. Boot Machine

Press ESC

Device Manager > Secure Boot Configuration > Attempt Secure Boot > Deselect > ESC > ESC > Reset

Where in my install list would I do those things?

void rapids
#

I'm not sure how to answer that. Some of those are set when creating the VM, some are set in Hardware/Options. I told you everything you need though.

#

If you did all the changed I suggested you can post pictures again and I can make recommendations if you wnat

latent turret
void rapids
#

Yes

latent turret
void rapids
#

Looks fine as well

latent turret
void rapids
#

Yep

#

You can change most of this after creation as well, you don't have to create a new VM, btw. I guess you just want to get a feel what to choose in the future?

latent turret
latent turret
#

Currently we use HAOS on a laptop but networking within haos sucks

void rapids
#

I'm actually not a fan of HAOS myself (google HAOS dns) but people use it and I want to help them so I gotta be familiar with it as well, hence it goes in a VM.

latent turret
#

Yeah dns on it has been a pain in the ass. Hence why we're debating moving it to a vm

void rapids
#

It's certainly easier to snapshot/backup and troubleshoot it in a VM.

latent turret
#

how would you use grafana and vscode without HAOS tho. The plan is for my parents to work on it and not me

void rapids
#

I run my production HA and others in separate docker containers "managed" through docker compose.

latent turret
#

Ah alright

#

that'd make sense

#

Is that a lot harder to set up at front

#

my linux skills are quite rusty. Ít's been a while

latent turret
void rapids
#

I basically have one big VM that runs all my main stuff. I've migrated a few things to LXC containers and other VMs now.
Not really. You just have to add them to the sidebar with panel_iframe.
HACS works fine in a container install.

latent turret
#

might do that for my own setup

#

The one for my parents will be much simpler

void rapids
#

And then this in the configuration.yaml

panel_iframe:
    grafana:
        title: "Grafana"
        url: "http://ip:3000"
        icon: mdi:someicon
        require_admin: true
latent turret
#

Is it possible to setup stuff beforehand so I don't have to takeout HASS for like a week while I figure stuff out

void rapids
#

Set up what exactly?

#

You can run clone the VM, test stuff there and then when it works apply it on the other

latent turret
#

It's currently only HAOS.

#

Dont really have any other device here that functions as a server

void rapids
#

Proxmox Stuff

latent turret
#

Then in the new vm I can mess arround

void rapids
#

Yep. Make snapshot, mess around, restore. It's what I do when I test something in HAOS

latent turret
#

alright

#

just curious whats your hass like?

void rapids
latent turret
#

How much stuff do you manage

void rapids
#

My HA is very simple actually. Most of my stuff is still in Node RED

latent turret
void rapids
#

Mine is rather boring. I mostly use a few functional HACS things, not visual. I want my HA to be rather stable so I try not to use so much of it

latent turret
#

Do you know how I can disable the laptop going to sleep when I close the lid

void rapids
#

Proxmox VE is on the laptop?

latent turret
#

yeah

void rapids
#
echo "HandleLidSwitch=ignore" >> /etc/systemd/logind.conf
systemctl restart systemd-logind
latent turret
#

Jup that worked thanks

void rapids
#

There's two proxmox discord servers, btw

latent turret
#

Invite me through dms, might be useful when I'm redoing our own one

void rapids
latent turret
#

So one LXC Container for HASS Itself, one for grafana and influx

#

If so do I create ubuntu containers or something else?

void rapids
#

Worth depends what you gain from it. I run most things in one VM in docker containers. I only use LXC if I have to

latent turret
#

Ah alright, would you have any suggestions for a secure connection to another proxmox server in another network

#

I can't seem to find any guides

#

Someone said wireguard but couldnt help me with it so I'm very confused

void rapids
latent turret
#

Is that secure?

#

And do you install it in CT/VM or just on the server