Merge pull request #484 from bcwaldon/fix-path-unit

Fix oem-vagrant cloudinit
This commit is contained in:
Brian Waldon 2014-03-25 20:28:12 -07:00
commit 0bd1f545e6
3 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,7 @@ CROS_WORKON_REPO="git://github.com"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64"
else
CROS_WORKON_COMMIT="e68134d88480595211ea594b10be3316f19085b5" # v0.3.0
CROS_WORKON_COMMIT="4977c774d81d1326e0099692afc87fa002c003ad" # v0.3.1
KEYWORDS="amd64"
fi

View File

@ -13,7 +13,11 @@ coreos:
- name: coreos-cloudinit-vagrant.service
runtime: no
content: |
[Unit]
ConditionFileNotEmpty=/var/lib/coreos-vagrant/user-data
[Service]
Type=oneshot
EnvironmentFile=/etc/environment
ExecStart=/usr/bin/coreos-cloudinit --from-file /var/lib/coreos-vagrant/user-data
RemainAfterExit=yes