-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoreos.ign
72 lines (72 loc) · 2.32 KB
/
coreos.ign
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
{
"ignition": {
"version": "3.0.0"
},
"passwd": {
"users": [
{
"groups": [
"sudo",
"docker"
],
"name": "admin",
"sshAuthorizedKeys": [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlj1ewzRZ1lcxr3kkk5cULDiudhrZAs420lhkhNENqxSMeTTy+kqBWMtCzLzp8wdp/eRBNYQ8I0lLBq6qcEfevGleFkl0BG5tOgWIdk5irkazNq3L2mXnqviqL0NO+udr/mndaVIOul9r08ozu24uZr67T0ZybzIYAwllW2uTkQYh8HTdKdZtbTkBeBYID2jJyD6BtcGPgKA2QfCfWtC9FmOizvOXXKkaDtPb8+AVnyhwHSegYt1iT0V++4J/GEpVcYsXkGsa6hGROyeThnKqnSA3Ke3TgvJLye5PwXa8i0Wemt2c1BXk6V2vfMCe9tbByO8H2lyu/0Dx2ZbJp661p u0_a715@localhost"
]
}
]
},
"storage": {
"files": [
{
"contents": {
"source": "data:,CoreOS%20%20%20%20%20%20%20%20%20%20%0A"
},
"mode": 420,
"path": "/etc/hostname"
},
{
"contents": {
"source": "data:,%23%20Tell%20systemd%20to%20not%20use%20a%20pager%20when%20printing%20information%0Aexport%20SYSTEMD_PAGER%3Dcat%20%20%20%20%20%20%20%20%20%20%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%20%20%20%20%20%20%20%20%20%20%0A"
},
"mode": 420,
"path": "/etc/sysctl.d/20-silence-audit.conf"
},
{
"contents": {
"source": "data:,%23%20Enable%20SSH%20password%20login%0APasswordAuthentication%20yes%20%20%20%20%20%20%20"
},
"mode": 420,
"path": "/etc/ssh/sshd_config.d/20-enable-passwords.conf"
}
]
},
"systemd": {
"units": [
{
"enabled": true,
"name": "docker.service"
},
{
"enabled": true,
"name": "containerd.service"
},
{
"dropins": [
{
"contents": "[Service]\n# Override Execstart in main unit\nExecStart=\n# Add new Execstart with `-` prefix to ignore failure\nExecStart=-/usr/sbin/agetty --autologin admin --noclear %I $TERM\nTTYVTDisallocate=no \n",
"name": "autologin-core.conf"
}
],
"name": "[email protected]"
}
]
}
}