mirror of
https://git.freebsd.org/ports.git
synced 2025-07-10 05:49:22 -04:00
background and provides the following services: - Accounts daemon to setup and manage user accounts, and to enable SSH key based authentication. - Clock skew daemon to keep the system clock in sync after VM start and stop events. - Instance setup scripts to execute VM configuration scripts during boot. - IP forwarding daemon that integrates network load balancing with forwarding rule changes into the guest. - Metadata scripts to run user provided scripts at VM startup and shutdown. - Network setup service to enable multiple network interfaces on boot. WWW: https://github.com/GoogleCloudPlatform/compute-image-packages PR: 219687 Submitted by: Helen Koike (maintainer) Reviewed by: matthew (mentor), koobs, sunpoet, swills, julian Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D12077
23 lines
941 B
Python
23 lines
941 B
Python
This patch won't be necessary anymore in further versions.
|
|
See https://github.com/GoogleCloudPlatform/compute-image-packages/pull/440
|
|
|
|
--- google_compute_engine/config_manager.py.orig 2017-07-23 07:12:16 UTC
|
|
+++ google_compute_engine/config_manager.py
|
|
@@ -21,7 +21,7 @@ import textwrap
|
|
from google_compute_engine import file_utils
|
|
from google_compute_engine.compat import parser
|
|
|
|
-CONFIG = '/etc/default/instance_configs.cfg'
|
|
+CONFIG = '%%PREFIX%%/etc/instance_configs.cfg'
|
|
|
|
|
|
class ConfigManager(object):
|
|
@@ -101,7 +101,7 @@ class ConfigManager(object):
|
|
"""
|
|
config_file = config_file or self.config_file
|
|
config_name = os.path.splitext(os.path.basename(config_file))[0]
|
|
- config_lock = '/var/lock/google_%s.lock' % config_name
|
|
+ config_lock = '/var/spool/lock/google_%s.lock' % config_name
|
|
with file_utils.LockFile(config_lock):
|
|
with open(config_file, 'w') as config_fp:
|
|
if self.config_header:
|