-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcloud-config
More file actions
executable file
·37 lines (32 loc) · 890 Bytes
/
cloud-config
File metadata and controls
executable file
·37 lines (32 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#cloud-config
coreos:
units:
- name: docker-tcp.socket
command: start
enable: true
content: |
[Unit]
Description=Docker Socket for the API
[Socket]
ListenStream=2375
BindIPv6Only=both
Service=docker.service
[Install]
WantedBy=sockets.target
- name: scheduler.service
command: start
content: |
[Unit]
Description=Set io scheduler to noop for ssds
[Service]
Type=oneshot
ExecStart=/bin/bash -l -c 'echo noop > /sys/block/sda/queue/scheduler'
- name: stop-update-engine.service
command: start
content: |
[Unit]
Description=stop update-engine
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl stop update-engine.service
ExecStartPost=/usr/bin/systemctl mask update-engine.service