Skip to content

Commit

Permalink
Removing calls to disable google services since they are not loaded. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vcanaa authored Apr 29, 2020
1 parent 005d914 commit 2cd1bf5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/packergen.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

STOP_SERVICES_SCRIPT = r"""
echo "--> Stopping syslog service..."
# Syslog is restarts on failure by default. Needed actions:
# Syslog is restarted on failure by default. Needed actions:
# - disable
# - stop
# - enable (syslog is still stopped till next restart)
Expand All @@ -81,8 +81,11 @@
systemctl enable rsyslog.service
echo "--> Stopping Google services..."
systemctl stop google-accounts-daemon.service
systemctl stop google-instance-setup.service
# We need to stop google services to avoid accidental creation of
# users by the account daemon
# Reference to google-guest-agent
# https://github.com/GoogleCloudPlatform/compute-image-packages/tree/master/packages/python-google-compute-engine
systemctl stop google-guest-agent.service
"""

VERIFY_SHUTDOWN_SCRIPT = r"""
Expand Down

0 comments on commit 2cd1bf5

Please sign in to comment.