Merge pull request #223 from illfelder/legacy All packages are deprecated in the legacy branch.
This repository is the collection of packages that are installed on the standard Google Compute Engine images.
The easiest way to install these packages into a Linux-based image is to extract each tarball to / (root). Image Bundle does not have a directory structure, it is recommended to it extract to /usr/share/imagebundle. The tarballs are available in releases.
Refer to Building a Google Compute Engine Image for the complete guide.
Occasionally you may want to install the latest commits to the repository even if they have not been released. This is not recommended unless there is a change that you specifically need and cannot wait for. To do this:
Log in to your target machine.
Clone the repository with
git clone https://github.com/GoogleCloudPlatform/compute-image-packages.git
Copy the google-daemon and google-startup-scripts files to your root directory with
sudo cp -R compute-image-packages/{google-daemon/{etc,usr},google-startup-scripts/{etc,usr,lib}} /
Configure the packages to run on startup with (Debian)
sudo update-rc.d google-startup-scripts defaults && sudo update-rc.d google-accounts-manager defaults && sudo update-rc.d google-address-manager defaults && sudo update-rc.d google-clock-sync-manager defaults
or (Redhat)
sudo chkconfig --add google-startup-scripts && sudo chkconfig --add google-accounts-manager && sudo chkconfig --add google-address-manager && sudo chkconfig --add google-clock-sync-manager
Either restart so the packages run or start them with (Debian and Redhat)
sudo service google-accounts-manager restart && sudo service google-address-manager restart && sudo service google-clock-sync-manager restart
This repository is structured so that each package is located in its own top-level directory. google-startup-scripts and google-daemon are stored as the directory structure of where the files would be from root.
Have a patch that will benefit this project? Awesome! Follow these steps to have it accepted.
All files in this repository are under the Apache License, Version 2.0 unless noted otherwise.