Improved temporary fix for assigning default UID and GID mappings for linux-VMs.
This commit is contained in:
parent
2d7372e0c3
commit
a3d8fbaa82
1 changed files with 3 additions and 3 deletions
|
@ -120,9 +120,9 @@ create_printerlist() {
|
|||
|
||||
start_virtiofsd() {
|
||||
# BEGIN temporary fix, while linux-starter are not migrated to --uid and --gid
|
||||
if [[ "$LIBVIRTOSINFO" =~ "debian.*" ]]; then
|
||||
GUEST_UID=1000
|
||||
GUEST_GID=1010
|
||||
if [[ "$LIBVIRTOSINFO" =~ debian.* ]]; then
|
||||
[[ "$GUEST_UID" == 0 ]] && GUEST_UID=1010
|
||||
[[ "$GUEST_GID" == 0 ]] && GUEST_GID=1010
|
||||
fi
|
||||
# END temporary fix
|
||||
socket="/run/user/$(id -u $USER)/virtiofs-${VM_NAME}.sock"
|
||||
|
|
Loading…
Add table
Reference in a new issue