大网数据广告活动
服务器运维问答

How to update GCE instance management services

· 52CE 我爱测

What are the services on Linux (CentOS) that communicate with the Google Compute Engine (GCE) infrastructure to configure and manage a VM (SSH keys, for example)? These don't seem to be updated with yum. How are security patches …

问题原文

原帖链接 · Anders · CC BY-SA 3.0

What are the services on Linux (CentOS) that communicate with the Google Compute Engine (GCE) infrastructure to configure and manage a VM (SSH keys, for example)? 

These don't seem to be updated with yum. How are security patches deployed?

已采纳解答

原帖链接 · Slashterix · CC BY-SA 3.0

Google has a page on building your own image which includes a section on the "Google Compute Engine image packages" and a link to the GitHub project.

This shows the two packages that are installed to manage SSH keys, update hostnames, and clock skew, among other things.

The stock images from Google include yum-cron which is a service and cron to automatically update packages, including these.

$ cat /etc/yum.repos.d/google-cloud.repo 
[google-cloud-compute]
name=Google Cloud Compute
baseurl=https://packages.cloud.google.com/yum/repos/google-cloud-compute-el7-x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg
       https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg

There is also a page that describes what is in the CentOS image provided by Google.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-06-24)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。