-
Notifications
You must be signed in to change notification settings - Fork 0
/
core01.yaml
76 lines (73 loc) · 1.62 KB
/
core01.yaml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#cloud-config
groups:
- systemd-journal
- rkt
users:
- name: nicholas
passwd: $1$ano67B90$9An8Femn5fV9Y2EfpX8.B0
coreos-ssh-import-github: nicholasvmoore
groups:
- sudo
- docker
- systemd-journal
- name: root
passwd: $1$ktmeWWyg$UZN.YGuSViBYmpYLjrHsl.
write-files:
- path: /etc/conf.d/nfs
permissions: '0644'
content: |
OPTS_RPC_MOUNTD=""
coreos:
update:
reboot-strategy: best-effort
group: stable
fleet:
metadata: cores=4
etcd:
name: core01
discovery: https://discovery.etcd.io/fa2743b670dbb9b68a8e026e3842f584
addr: 192.168.200.91:4001
peer-addr: 192.168.200.91:7001
units:
- name: etcd.service
command: start
enable: true
- name: fleet.service
command: start
enable: true
- name: rpc-statd.service
command: start
enable: true
- name: mnt-lun0-media.mount
command: start
content: |
[Mount]
What=192.168.200.40:/mnt/lun0/media
Where=/mnt/lun0/media
Type=nfs
- name: mnt-lun0-software.mount
command: start
content: |
[Mount]
What=192.168.200.40:/mnt/lun0/software
Where=/mnt/lun0/software
Type=nfs
- name: mnt-lun0-home.mount
command: start
content: |
[Mount]
What=192.168.200.40:/mnt/lun0/home
Where=/mnt/lun0/home
Type=nfs
- name: 20-networkd.network
command: start
content: |
[Match]
Name=en*
[Network]
DHCP=yes
[DHCP]
UseDNS=true
UseNTP=true
UseHostname=true
UseDomains=true