---
# System prepended metadata

title: 20220510_instance-unit-warning-discussion

---

# 20220510_instance-unit-warning-discussion


```
{
  "ignition": {
    "version": "3.4.0-experimental"
  },
  "systemd": {
    "units": [
      {
        "enabled": true,
        "name": "echo@foo.service"
      },
      {
        "contents": "[Unit]\nDescription=echo service template\n[Service]\nType=oneshot\nExecStart=/bin/echo %i\n",
        "name": "echo@.service"
      }
    ]
  }
}
```

warn if: (instantiatable unit echo@.service exists && has contents) && (instance of that unit echo@foo.service that is enabled)

- the instantiable half and the instance half must both be in the ignition config
- 