coreos-base/oem-azure: add wa-linux-agent to oem

This commit is contained in:
Alex Crawford 2014-09-30 20:08:11 -07:00
parent 928c7158a7
commit c622ae2bf7
2 changed files with 25 additions and 7 deletions

View File

@ -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

View File

@ -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" \