mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 02:16:59 +02:00
bump(coreos-base/oem-gce): install the google-compute agent
This commit is contained in:
parent
e73b73b961
commit
a709850af8
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user