-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathcoreos.txt
49 lines (49 loc) · 1.34 KB
/
coreos.txt
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
{
"ignition": {
"version": "3.0.0"
},
"passwd": {
"users": [
{
"groups": [
"sudo",
"docker"
],
"name": "admin",
"passwordHash": "$y$j9T$n6h8P2ik8tfoNUFBBoly00$7bnrMF8oFrB25Fc3NqigqEH/MI5YXIJwtCG/iEsns.2"
}
]
},
"storage": {
"files": [
{
"contents": {
"source": "data:,CoreOS%0A"
},
"mode": 420,
"path": "/etc/hostname"
},
{
"contents": {
"source": "data:,%23%20Tell%20systemd%20to%20not%20use%20a%20pager%20when%20printing%20information%0Aexport%20SYSTEMD_PAGER%3Dcat%0A"
},
"mode": 420,
"path": "/etc/profile.d/systemd-pager.sh"
},
{
"contents": {
"source": "data:,%23%20Raise%20console%20message%20logging%20level%20from%20DEBUG%20(7)%20to%20WARNING%20(4)%0A%23%20to%20hide%20audit%20messages%20from%20the%20interactive%20console%0Akernel.printk%3D4%0A"
},
"mode": 420,
"path": "/etc/sysctl.d/20-silence-audit.conf"
},
{
"contents": {
"source": "data:,%23%20Enable%20SSH%20password%20login%0APasswordAuthentication%20yes%0A"
},
"mode": 420,
"path": "/etc/ssh/sshd_config.d/20-enable-passwords.conf"
}
]
}
}