Skip to content

Commit 39fe718

Browse files
committed
Merge pull request #1464 from deis/cleanup_userdata
chore(contrib/coreos): clean up user-data
2 parents 71b59b3 + 44eb938 commit 39fe718

1 file changed

Lines changed: 0 additions & 35 deletions

File tree

contrib/coreos/user-data

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,44 +8,10 @@ coreos:
88
addr: $private_ipv4:4001
99
peer-addr: $private_ipv4:7001
1010
units:
11-
- name: docker.service
12-
content: |
13-
[Unit]
14-
Description=Docker Application Container Engine
15-
Documentation=http://docs.docker.io
16-
17-
[Service]
18-
ExecStartPre=/bin/mount --make-rprivate /
19-
# Run docker but don't have docker automatically restart
20-
# containers. This is a job for systemd and unit files.
21-
ExecStart=/usr/bin/docker -d -s=btrfs -r=false -H fd://
22-
23-
[Install]
24-
WantedBy=multi-user.target
25-
- name: docker-tcp.socket
26-
command: start
27-
content: |
28-
[Unit]
29-
Description=Docker Socket for Remote API
30-
31-
[Socket]
32-
ListenStream=4243
33-
Service=docker.service
34-
BindIPv6Only=both
35-
36-
[Install]
37-
WantedBy=sockets.target
3811
- name: etcd.service
3912
command: start
4013
- name: fleet.service
4114
command: start
42-
content: |
43-
[Unit]
44-
Description=fleet
45-
46-
[Service]
47-
Environment=FLEET_PUBLIC_IP=$private_ipv4
48-
ExecStart=/usr/bin/fleet
4915
- name: stop-update-engine.service
5016
command: start
5117
content: |
@@ -56,7 +22,6 @@ coreos:
5622
Type=oneshot
5723
ExecStart=/usr/bin/systemctl stop update-engine.service
5824
ExecStartPost=/usr/bin/systemctl mask update-engine.service
59-
6025
write_files:
6126
- path: /etc/deis-release
6227
content: |

0 commit comments

Comments
 (0)