Admin Basics
Purpose
Packaging, systemd unit, local HTTP API, privileges, and ops.
How to get there
- Topic id:
admin-basics - Section: Admin → Admin Basics
Guide
| Topic | Detail |
|---|---|
| Unit | cloud-netconfigd.service — notify type, watchdog, hardened syscall filter |
| Capabilities | CAP_NET_ADMIN only after privilege drop |
| API | /health, /api/status, /api/cloud/status on server.listen |
| State | /run/cloud-network — metadata persistence when state.persist_metadata: true |
| Completions | bash, zsh, fish installed under /usr/share/ |
Logs and service control
sudo systemctl status cloud-netconfigd
sudo journalctl -u cloud-netconfigd -f
Security notes
- Keep the HTTP listener on localhost unless you add TLS and access controls.
- Restrict
/etc/cloud-network/*.yamlto root-readable permissions. - Review
SECURITY.mdbefore exposing metadata-derived routes on shared tenants.
Operate (CLI)
- Monitor via systemd and journald — there is no remote metrics endpoint in Community Edition.
- After package upgrades, verify
systemctl cat cloud-netconfigdmatches shipped unit file. - Empty / fail: Check
cloud-networkuser exists and/run/cloud-networkis writable. - Success: Watchdog stays healthy; API returns
runningstatus.