From dfd46069e7b71bef1b0c441d6ce8961e3d1c09d9 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 4 Apr 2025 20:21:34 +0200 Subject: [PATCH] MT#62436 Remove workaround for vboxadd services We have made these services conditional on running inside a VirtualBox VM, so we do not need to remove them anymore. Change-Id: I6dc563688ba5b0c5e935b0cb88767fcb05ab9a19 --- templates/scripts/includes/deployment.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/templates/scripts/includes/deployment.sh b/templates/scripts/includes/deployment.sh index b3d2486..5f3ba77 100755 --- a/templates/scripts/includes/deployment.sh +++ b/templates/scripts/includes/deployment.sh @@ -1186,12 +1186,6 @@ vagrant_configuration() { echo "Commit /etc/* changes using etckeeper" grml-chroot "${TARGET}" etckeeper commit "Vagrant/VirtualBox changes on /etc/*" fi - - # disable vbox services so they are not run after reboot - # remove manually as we are in chroot now so can not use systemctl calls - # can be changed with systemd-nspawn - rm -f "${TARGET}/etc/systemd/system/multi-user.target.wants/vboxadd-service.service" - rm -f "${TARGET}/etc/systemd/system/multi-user.target.wants/vboxadd.service" } check_puppet_rc() {