Merge pull request #480 from bcwaldon/fix-cloud-configs

Update cloud-config.yml in all OEMs
This commit is contained in:
Michael Marineau 2014-03-25 10:13:40 -07:00
commit 222f447599
8 changed files with 15 additions and 1 deletions

View File

@ -3,6 +3,7 @@
coreos:
units:
- name: ec2-ssh-key.service
command: restart
runtime: yes
content: |
[Unit]
@ -13,6 +14,7 @@ coreos:
StandardOutput=journal+console
ExecStart=/usr/share/oem/bin/ec2-ssh-key
- name: ec2-cloudinit.service
command: restart
runtime: yes
content: |
[Unit]
@ -25,6 +27,7 @@ coreos:
EnvironmentFile=/etc/environment
ExecStart=/usr/bin/coreos-cloudinit -ignore-failure=true -from-url=http://169.254.169.254/latest/user-data
- name: ec2-c10n.service
command: restart
runtime: yes
content: |
[Unit]

View File

@ -3,6 +3,7 @@
coreos:
units:
- name: gce-coreos-cloudinit.service
command: restart
runtime: yes
content: |
[Unit]
@ -13,6 +14,7 @@ coreos:
EnvironmentFile=/etc/environment
ExecStart=/usr/share/oem/bin/gce-coreos-cloudinit
- name: gce-setup-environment.service
command: restart
runtime: yes
content: |
[Unit]
@ -23,6 +25,7 @@ coreos:
StandardOutput=journal+console
ExecStart=/usr/share/oem/bin/gce-setup-environment /etc/environment
- name: gce-ssh-key.service
command: restart
runtime: yes
content: |
[Unit]

View File

@ -0,0 +1 @@
oem-gce-0.0.1.ebuild

View File

@ -3,6 +3,8 @@
coreos:
units:
- name: nova-agent-auto.service
command: restart
runtime: yes
content: |
[Unit]
After=dbus.service
@ -18,6 +20,8 @@ coreos:
ExecStopPost=/bin/umount -f /usr/share/oem/nova-agent/proc/xen
ExecStopPost=/bin/umount -f /usr/share/oem/nova-agent/proc
- name: nova-agent-watcher.service
command: restart
runtime: yes
content: |
[Unit]
After=dbus.service
@ -25,11 +29,15 @@ coreos:
[Service]
ExecStart=/usr/share/oem/usr/bin/nova-agent-watcher -watch-dir=/usr/share/oem/nova-agent -scripts-dir=/usr/share/oem/usr/bin/
- name: media-configdrive.mount
command: restart
runtime: yes
content: |
[Mount]
What=/dev/disk/by-label/config-2
Where=/media/configdrive
- name: cloudinit-configdrive.service
command: restart
runtime: yes
content: |
[Unit]
RequiresMountsFor=/media/configdrive

View File

@ -11,7 +11,6 @@ coreos:
[Install]
WantedBy=multi-user.target
- name: coreos-cloudinit-vagrant.service
command: stop
runtime: no
content: |
[Service]