Skip to content

Instantly share code, notes, and snippets.

@cemarriott
cemarriott / homeassistant-docker-venv run
Created December 25, 2024 03:15
homeassistant-docker-venv run script with modifications to run as the 'core' user in Fedora CoreOS.
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
USER="core"
GROUP="$USER"
PUID="${PUID:-1000}"
PGID="${PGID:-1000}"
UMASK="${UMASK:-}"
@cemarriott
cemarriott / homeassistant-docker-venv run (diff)
Last active December 25, 2024 03:14
homeassistant-docker-venv run script diff - modifications to run as the 'core' user in Fedora CoreOS.
diff --git a/run b/run
index 970dd83..8f4b234 100755
--- a/run
+++ b/run
@@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
-USER="homeassistant"
+USER="core"

Keybase proof

I hereby claim:

  • I am cemarriott on github.
  • I am typherix (https://keybase.io/typherix) on keybase.
  • I have a public key whose fingerprint is 0932 6AE6 1D59 8820 BFD0 FAA1 5A29 99F1 707A 9ADA

To claim this, I am signing this object: