From 2245e99e934b3b5a1af42d9128124c5c644ea0eb Mon Sep 17 00:00:00 2001 From: tteck Date: Mon, 23 Aug 2021 05:41:48 -0400 Subject: [PATCH] Update Alternative.md --- Alternative.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alternative.md b/Alternative.md index 23b6233e..205d09f7 100644 --- a/Alternative.md +++ b/Alternative.md @@ -32,7 +32,7 @@ In the Proxmox web shell run (replace `105` with your home assistant container l ``` nano /etc/pve/lxc/105.conf ``` -add these 2 lines +add these 2 lines to the bottom ``` lxc.autodev: 1 lxc.hook.autodev: bash -c 'for char_dev in $(find /sys/dev/char -regextype sed -regex ".*/1:1" -o -regex ".*/4:\([3-9]\|[1-5][0-9]\|6[0-3]\)" -o -regex ".*/4:\(6[4-9]\|[7-9][0-9]\|1[0-9][0-9]\|2[0-4][0-9]\|25[0-5]\)" -o -regex ".*/10:200" -o -regex ".*/116:.*" -o -regex ".*/166:.*" -o -regex ".*/180:\([0-9]\|1[0-5]\)" -o -regex ".*/188:.*" -o -regex ".*/189:.*" -o -regex ".*/24[0-2]:.*"); do dev="/dev/$(sed -n "/DEVNAME/ s/^.*=\(.*\)$/\1/p" ${char_dev}/uevent)"; mkdir -p $(dirname ${LXC_ROOTFS_MOUNT}${dev}); for link in $(udevadm info --query=property $dev | sed -n "s/DEVLINKS=//p"); do mkdir -p ${LXC_ROOTFS_MOUNT}$(dirname $link); cp -dpR $link ${LXC_ROOTFS_MOUNT}${link}; done; cp -dpR $dev ${LXC_ROOTFS_MOUNT}${dev};done;'