mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-20 05:51:18 +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
|
Type=oneshot
|
||||||
StandardOutput=journal+console
|
StandardOutput=journal+console
|
||||||
ExecStart=/usr/share/oem/bin/gce-ssh-key
|
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
|
# no source directory
|
||||||
S="${WORKDIR}"
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
DEPENDS="app-emulation/google-daemon"
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
into "/usr/share/oem"
|
into "/usr/share/oem"
|
||||||
dobin ${FILESDIR}/gce-ssh-key
|
dobin ${FILESDIR}/gce-ssh-key
|
Loading…
x
Reference in New Issue
Block a user