lxc-update-config(1)
πΈ NAME πΈ
lxc-update-config(1) β update a legacy pre LXC 2.1 configuration file.
okay so bestie, this page is literally the lxc-update-config(1) manual, and the whole vibe is: legacy config file goes in, glow-up happens π
.
β¨ SYNOPSIS β¨
lxc-update-config {-c config}
π DESCRIPTION π
lxc-update-config detects any legacy configuration keys in the given config file and will replace them with the appropriate new configuration keys. slay.
lxc-update-config will first create a backup of the old config file in the same directory and name it config.backup, and then update the original config file in place. no cap, it's giving responsible queen behavior π.
In case the update fails to apply or leads to an invalid config file that cannot be used to start a container, users can either compare config with config.backup and try to manually repair any of the invalid configuration keys, or simply rollback to the legacy configuration file by copying config.backup to config. lowkey your escape hatch π«Ά.
Any failures for lxc-update-config to generate a useable config file are a bug and should be reported upstream. periodt β that's not a vibe, that's a bug report π.
π OPTIONS π
-c,--configβ Path to the configuration file to update. the main character option, fr fr.-h,--helpβ the help option. the original page gives no description here, so bestie, that's literally all she wrote π .
π¦ SEE ALSO π¦
lxc(7), lxc-create(1), lxc-copy(1), lxc-destroy(1), lxc-start(1), lxc-stop(1), lxc-execute(1), lxc-console(1), lxc-monitor(1), lxc-wait(1), lxc-cgroup(1), lxc-ls(1), lxc-info(1), lxc-freeze(1), lxc-unfreeze(1), lxc-attach(1), lxc.conf(5).
okay bestie, that's the whole page. source/version sign-off: lxc-update-config(1), date: 2026-05-01. mwah πβ¨
π¦ where this page comes from
- alpine 3.24: lxc-doc 7.0.0-r0 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms