Shorten path for XDG_CONFIG_HOME and clean dir
In Linux socket paths are limited to 108 char length. /var/tmp/vm/$UID/.config will be too long in some cases. So we use /var/tmp/vm/$UID /var/tmp/vm must be - cleaned on startup - created with sticky-bit (used by different users)
This commit is contained in:
parent
bde276d962
commit
97b9ba8d97
4 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
set -eu
|
||||
|
||||
## Imporant for all virsh libvirt calls:
|
||||
export XDG_CONFIG_HOME="/var/tmp/vm/${UID}/.config"
|
||||
export XDG_CONFIG_HOME="/var/tmp/vm/${UID}"
|
||||
|
||||
menu=(standard "CLI Standard Debian GNU/Linux NFS"
|
||||
standard-ram "CLI Standard Debian GNU/Linux RAM"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue