misc: rework

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-06-19 17:06:16 +02:00
parent e2f0aeaed2
commit 93ac56d351

View File

@ -174,17 +174,11 @@ elif [ "${1}" = "late" ]; then
if [ -d /tmpRoot/var/packages/open-vm-tools ]; then
sed -i 's/package/root/g' /tmpRoot/var/packages/open-vm-tools/conf/privilege
fi
if [ -d /var/packages/open-vm-tools ]; then
sed -i 's/package/root/g' /var/packages/open-vm-tools/conf/privilege
fi
# Qemu-Guest-Agent-Fix
if [ -d /tmpRoot/var/packages/qemu-ga ]; then
sed -i 's/package/root/g' /tmpRoot/var/packages/qemu-ga/conf/privilege
fi
if [ -d /var/packages/qemu-ga ]; then
sed -i 's/package/root/g' /var/packages/qemu-ga/conf/privilege
fi
# service
SERVICE_PATH="/tmpRoot/usr/lib/systemd/system"