This repository historically stored the collection of packages installed on
Google supported Compute Engine images.
Documentation here summarizes these packages and points to new locations for
various software components.
The Linux guest environment comprises the Google provided configuration and
tooling inside of a Google Compute Engine
(GCE) virtual machine. The
metadata server is a
communication channel for transferring information from a client into the guest.
The Linux guest environment includes a set of scripts and daemons (long-running
processes) that read the content of the metadata server to make a virtual
machine run properly on our platform.
Packaging
We build the following packages for the Linux guest environment.
google-compute-engine(located in the guest-configs repo)
System init scripts (systemd, upstart, or sysvinit).
Includes udev rules, sysctl rules, rsyslog configs, dhcp configs for
hostname setting.
Includes bash scripts used during instance setup.
This package depends on the other necessary packages, and can be used as
an entry point to install the guest environment.
google-compute-engine-oslogin(located in the guest-oslogin repo)
The deb and rpm packages are published to Google Cloud repositories. Debian,
CentOS, and RHEL use these repositories to install and update the
google-compute-engine, google-compute-engine-oslogin and
google-guest-agent packages. If you are creating a custom image, you can also
use these repositories in your image.
Add a source list file /etc/apt/sources.list.d/google-cloud.list and change
DIST to either stretch for Debian 9 or buster for Debian 10:
DIST=stretch
sudo tee /etc/apt/sources.list.d/google-cloud.list << EOM
deb http://packages.cloud.google.com/apt google-compute-engine-${DIST}-stable main
deb http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-${DIST} main
EOM
Install the packages to maintain the public key over time:
请发表评论