From 840782808ef4117a79e5315a6e7dd45afdb02d17 Mon Sep 17 00:00:00 2001 From: Brian Waldon Date: Tue, 25 Mar 2014 09:25:33 -0700 Subject: [PATCH] fix(oem-ami): Define unit commands in cloud-config.yml --- .../coreos-overlay/coreos-base/oem-ami/files/cloud-config.yml | 3 +++ .../{oem-ami-0.0.1-r10.ebuild => oem-ami-0.0.1-r11.ebuild} | 0 2 files changed, 3 insertions(+) rename sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/{oem-ami-0.0.1-r10.ebuild => oem-ami-0.0.1-r11.ebuild} (100%) diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/files/cloud-config.yml b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/files/cloud-config.yml index 7c7e1a8878..bb5756c948 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/files/cloud-config.yml +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/files/cloud-config.yml @@ -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] diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/oem-ami-0.0.1-r10.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/oem-ami-0.0.1-r11.ebuild similarity index 100% rename from sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/oem-ami-0.0.1-r10.ebuild rename to sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/oem-ami-0.0.1-r11.ebuild