From 79d690cda0df0013e9379bef9b85100d47fe962e Mon Sep 17 00:00:00 2001 From: Lorenzo Castelli Date: Mon, 24 Aug 2020 02:30:40 +0000 Subject: Moves to new guest-configs repository. --- google-compute-engine.install | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 google-compute-engine.install (limited to 'google-compute-engine.install') diff --git a/google-compute-engine.install b/google-compute-engine.install new file mode 100644 index 0000000..59997e9 --- /dev/null +++ b/google-compute-engine.install @@ -0,0 +1,23 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +pre_upgrade() { + if (( $(vercmp "$2" '20200731.00') < 0)); then + systemctl disable --now \ + google-accounts-daemon \ + google-clock-skew-daemon \ + google-instance-setup \ + google-network-daemon + fi +} -- cgit v1.3