Replies: 5 comments 3 replies
-
You need a plain rootfs. You can look around in the jails directory. Each jail has a rootfs dir. For details like this I recommend to study the code of jailmaker. |
Beta Was this translation helpful? Give feedback.
-
I am also interested. |
Beta Was this translation helpful? Give feedback.
-
The Supervised install doesn't look that complicated actually: https://github.com/home-assistant/supervised-installer?tab=readme-ov-file You could try those steps in a debian bookworm jail. Ensure you're using macvlan or bridge networking. You may need to disable seccomp filtering and add capabilities. But I don't think it's a good idea to run HAOS in a jail and I doubt it will work. HOAS is not designed to run in a jail (lxc or otherwise) as far as I know. So you're asking for trouble if you take this approach... https://community.home-assistant.io/t/running-hassos-as-an-lxd-lxc-virtual-machine/227643/31 |
Beta Was this translation helpful? Give feedback.
-
Home Assistant OS is only availabe as a VM, the alternative to running it full fledged is Supervied - I've been running it successfully in a debain VM for years. The supervied installation is documented very well, and that's probably what you want - a way to mimic the Home Assistant OS in a jail = running supervised.
It looks like an LXC solution does exist and is documented for proxmox users here. But I'll be weary, while the HA community is great, as HA Supervised is NOT officially supported on LXC, you'll have a hard time asking for assistance. If you CAN run the VM, that's probably the best solution. If you DO succeed, I'm more than interested to follow your experience though. |
Beta Was this translation helpful? Give feedback.
-
Did you get any further with this? |
Beta Was this translation helpful? Give feedback.
-
Okay, Title says everything right?
HomeAssistant OS runs on Debian 12 and also uses Systemd, therefore it SHOULD work right?
There is a way to install Home Assistant Supervised on a normal Debian Bookworm system. But that looks really complicated and seems to provide a lot of failure points... i'd rather not try that.
So how do we get the HAOS distribution included in Jailmaker then?
I've seen that the "create new jail" function uses the lxc-download.in to look for distros. which uses http://images.linuxcontainers.org/ to search for images.
But then again jailmaker uses systemd-nspawn and not lxc right?
So those images get converted/unpacked into what exactly?
Maybe there is a build of HomeAssistantOS that gets build similar and can be used.
Or am i looking at this from the wrong perspective? is there an easier way to import a custom OS? in What format would that need to be?
Regards,
Beta Was this translation helpful? Give feedback.
All reactions