mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
Merge pull request #484 from bcwaldon/fix-path-unit
Fix oem-vagrant cloudinit
This commit is contained in:
commit
0bd1f545e6
@ -9,7 +9,7 @@ CROS_WORKON_REPO="git://github.com"
|
|||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
else
|
else
|
||||||
CROS_WORKON_COMMIT="e68134d88480595211ea594b10be3316f19085b5" # v0.3.0
|
CROS_WORKON_COMMIT="4977c774d81d1326e0099692afc87fa002c003ad" # v0.3.1
|
||||||
KEYWORDS="amd64"
|
KEYWORDS="amd64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -13,7 +13,11 @@ coreos:
|
|||||||
- name: coreos-cloudinit-vagrant.service
|
- name: coreos-cloudinit-vagrant.service
|
||||||
runtime: no
|
runtime: no
|
||||||
content: |
|
content: |
|
||||||
|
[Unit]
|
||||||
|
ConditionFileNotEmpty=/var/lib/coreos-vagrant/user-data
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
EnvironmentFile=/etc/environment
|
EnvironmentFile=/etc/environment
|
||||||
ExecStart=/usr/bin/coreos-cloudinit --from-file /var/lib/coreos-vagrant/user-data
|
ExecStart=/usr/bin/coreos-cloudinit --from-file /var/lib/coreos-vagrant/user-data
|
||||||
|
RemainAfterExit=yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user