Skip to content

Commit 9d85303

Browse files
committed
chore(contrib/coreos): remove fleet 0.9.2 installation
This is now provided in the stable CoreOS image.
1 parent 46f9fdc commit 9d85303

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

contrib/coreos/user-data.example

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,6 @@ coreos:
2020
units:
2121
- name: etcd.service
2222
command: start
23-
- name: upgrade-fleet-091.service
24-
command: start
25-
content: |
26-
[Unit]
27-
Description=Upgrade fleet if system fleet is v0.9.1, which has a known bug
28-
Before=fleet.service
29-
ConditionPathIsSymbolicLink=!/etc/systemd/system/fleet.service.d/99-upgrade-fleet-091.conf
30-
31-
[Service]
32-
ExecStart=/usr/bin/bash -c 'if fleetd --version | grep -q 0.9.1; then curl -sSL --retry 5 --retry-delay 2 -o /opt/bin/fleetd-0.9.2 https://s3-us-west-2.amazonaws.com/opdemand/fleetd-v0.9.2 && chmod +x /opt/bin/fleetd-0.9.2 && mkdir -p /etc/systemd/system/fleet.service.d/ && ln -sf /opt/conf/fleetd-092-custom-binary.conf /etc/systemd/system/fleet.service.d/99-upgrade-fleet-091.conf; else rm -f /etc/systemd/system/fleet.service.d/99-upgrade-fleet-091.conf; fi'
33-
RemainAfterExit=yes
34-
Type=oneshot
3523
- name: docker-tcp.socket
3624
command: start
3725
enable: true
@@ -208,8 +196,3 @@ write_files:
208196
[Service]
209197
ExecStart=
210198
ExecStart=/usr/sbin/ntpd -g -n -f /var/lib/ntp/ntp.drift
211-
- path: /opt/conf/fleetd-092-custom-binary.conf
212-
content: |
213-
[Service]
214-
ExecStart=
215-
ExecStart=/opt/bin/fleetd-0.9.2

0 commit comments

Comments
 (0)