Skip to content

Commit

Permalink
Add After=dbus.service to open-vm-tools.
Browse files Browse the repository at this point in the history
In support of addressing issue vmware-samples#20.

Updating the script to use `vgauth.service` instead of `vgauthd.service`. The former is used in Ubuntu while the latter is used in RHEL-based guestOS.
  • Loading branch information
tenthirtyam committed Jul 22, 2021
1 parent 3c869b1 commit 5334d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/linux/ubuntu-server-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ sudo sed -i 's/D/#&/' /usr/lib/tmpfiles.d/tmp.conf

### Add After=dbus.service to open-vm-tools. ###
echo '> Adding After=dbus.service to open-vm-tools ...'
sudo sed -i '/^After=vgauthd.service/a\After=dbus.service' /lib/systemd/system/open-vm-tools.service
sudo sed -i '/^After=vgauth.service/a\After=dbus.service' /lib/systemd/system/open-vm-tools.service

### Create a cleanup script. ###
echo '> Creating cleanup script ...'
Expand Down

0 comments on commit 5334d3b

Please sign in to comment.