bump(coreos-base/oem-gce): install the google-compute agent

This commit is contained in:
Brandon Philips 2014-03-25 15:38:54 -07:00
parent e73b73b961
commit a709850af8
2 changed files with 31 additions and 0 deletions

View File

@ -35,3 +35,32 @@ coreos:
Type=oneshot
StandardOutput=journal+console
ExecStart=/usr/share/oem/bin/gce-ssh-key
- name: google-accounts-manager.service
runtime: yes
content: |
[Unit]
Description=Google Compute Engine User Accounts Manager Daemon
After=network.target
Before=sshd.service
Requires=network.target
[Service]
Type=simple
ExecStart=/usr/share/oem/python/bin/python2.7 /usr/share/oem/google-compute-daemon/manage_accounts.py
[Install]
WantedBy=multi-user.target
- name: google-address-manager.service
runtime: yes
content: |
[Unit]
Description=Google Compute Engine Address Manager Daemon
After=network.target
Requires=network.target
[Service]
Type=simple
ExecStart=/usr/share/oem/python/bin/python2.7 /usr/share/oem/google-compute-daemon/manage_addresses.py
[Install]
WantedBy=multi-user.target

View File

@ -15,6 +15,8 @@ IUSE=""
# no source directory
S="${WORKDIR}"
DEPENDS="app-emulation/google-daemon"
src_install() {
into "/usr/share/oem"
dobin ${FILESDIR}/gce-ssh-key