mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-20 05:51:18 +02:00
coreos-base/oem-azure: add wa-linux-agent to oem
This commit is contained in:
parent
928c7158a7
commit
c622ae2bf7
@ -1,9 +1,27 @@
|
||||
#cloud-config
|
||||
|
||||
coreos:
|
||||
oem:
|
||||
id: azure
|
||||
name: Microsoft Azure
|
||||
version-id: @@OEM_VERSION_ID@@
|
||||
home-url: https://azure.microsoft.com/
|
||||
bug-report-url: https://github.com/coreos/bugs/issues
|
||||
units:
|
||||
- name: user-cloudinit@var-lib-waagent-CustomData.path
|
||||
command: start
|
||||
runtime: true
|
||||
|
||||
- name: waagent.service
|
||||
command: start
|
||||
runtime: true
|
||||
content: |
|
||||
[Unit]
|
||||
Description=Microsoft Azure Agent
|
||||
Wants=network-online.target sshd-keygen.service
|
||||
After=network-online.target sshd-keygen.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/share/oem/python/bin/python /usr/share/oem/bin/waagent -daemon
|
||||
|
||||
oem:
|
||||
id: azure
|
||||
name: Microsoft Azure
|
||||
version-id: @@OEM_VERSION_ID@@
|
||||
home-url: https://azure.microsoft.com/
|
||||
bug-report-url: https://github.com/coreos/bugs/issues
|
||||
|
@ -15,7 +15,7 @@ IUSE=""
|
||||
# no source directory
|
||||
S="${WORKDIR}"
|
||||
|
||||
RDEPEND="dev-lang/python-oem"
|
||||
RDEPEND="app-emulation/wa-linux-agent"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
Loading…
x
Reference in New Issue
Block a user