forked from MeetMe/newrelic-plugin-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloud-config.yml
50 lines (41 loc) · 1.4 KB
/
cloud-config.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
#cloud-config
coreos:
units:
- name: stop-reboot-manager.service
content: |
[Unit]
Description=stop update-engine-reboot-manager
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl stop update-engine-reboot-manager.service
ExecStartPost=/usr/bin/systemctl mask update-engine-reboot-manager.service
[Install]
WantedBy=multi-user.target
- name: source.service
command: start
content: |
[Unit]
Description=Shared source directory from Vagrant
Requires=docker.service
Requires=mnt-source.mount
[Service]
Restart=no
ExecStart=/usr/bin/docker run -v /mnt/source:/opt/source:rw --name SOURCE busybox true
- name: devenv.service
command: start
content: |
[Unit]
Description=Copy in scripts dir into /home/core/bin and add /home/core/bin to path
Requires=mnt-source.mount
[Service]
Restart=no
ExecStart=/mnt/source/docker/scripts/copy-scripts.sh
- name: sshkeys.service
command: start
content: |
[Unit]
Description=Ensure the ssh files are in the right spot for sshing into containers
Requires=mnt-source.mount
[Service]
Restart=no
ExecStart=/mnt/source/docker/scripts/setup-ssh.sh