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