Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Commit

Permalink
update ignition config to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrwn committed Apr 26, 2016
1 parent d8edc9c commit c3d0b26
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions os/customizing-sshd.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,20 +221,8 @@ ignition:

```
{
"ignitionVersion": 1,
"storage": {
"filesystems": [
{
"device": "/dev/disk/by-label/ROOT",
"format": "ext4",
"files": [
{
"path": "/var/run/sshd.pid",
"mode": 420
}
]
}
]
"ignition": {
"version": "2.0.0"
},
"systemd": {
"units": [
Expand All @@ -248,8 +236,6 @@ ignition:
"contents": "[Unit]\nDescription=OpenSSH server daemon\n[Service]\nType=forking\nPIDFile=/var/run/sshd.pid\nExecStart=/usr/sbin/sshd\nExecReload=/bin/kill -HUP $MAINPID\nKillMode=process\nRestart=on-failure\nRestartSec=30s\n[Install]\nWantedBy=multi-user.target\n"
}
]
},
"networkd": {},
"passwd": {}
}
}
```

0 comments on commit c3d0b26

Please sign in to comment.