Home Assistant add-on that joins the instance to a Netmaker network via netclient. Distributed as a repository add-on using a prebuilt arm64 image (gitea.savant.io/homeassistant/netmaker) to avoid local buildx. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
46 lines
970 B
Plaintext
46 lines
970 B
Plaintext
#include <tunables/global>
|
|
|
|
profile netmaker flags=(attach_disconnected,mediate_deleted) {
|
|
#include <abstractions/base>
|
|
|
|
# Capabilities
|
|
file,
|
|
signal (send) set=(kill,term,int,hup,cont),
|
|
|
|
# S6-Overlay
|
|
/init ix,
|
|
/bin/** ix,
|
|
/usr/bin/** ix,
|
|
/run/{s6,s6-rc*,service}/** ix,
|
|
/package/** ix,
|
|
/command/** ix,
|
|
/etc/services.d/** rwix,
|
|
/etc/cont-init.d/** rwix,
|
|
/etc/cont-finish.d/** rwix,
|
|
/run/{,**} rwk,
|
|
/dev/tty rw,
|
|
|
|
# Bashio
|
|
/usr/lib/bashio/** ix,
|
|
/tmp/** rwk,
|
|
|
|
# Access to options.json and other files within your app
|
|
/data/** rw,
|
|
|
|
# Netclient configuration/state (symlinked to /data/netclient)
|
|
/etc/netclient/{,**} rw,
|
|
|
|
# General - capabilities derived from complain mode analysis
|
|
capability net_bind_service,
|
|
capability dac_override,
|
|
capability fsetid,
|
|
capability setgid,
|
|
capability setuid,
|
|
capability chown,
|
|
capability kill,
|
|
|
|
# General - based on Config.yaml
|
|
capability net_admin,
|
|
capability net_raw,
|
|
}
|