Man page - lxc-update-config(1)
Packages contas this manual
- lxc-create(1)
- lxc-snapshot(1)
- lxc(7)
- lxc.container.conf(5)
- lxc-attach(1)
- lxc-config(1)
- lxc-cgroup(1)
- lxc-monitor(1)
- lxc-ls(1)
- lxc-copy(1)
- lxc-checkconfig(1)
- lxc-unshare(1)
- lxc-info(1)
- lxc-usernet(5)
- lxc-start(1)
- lxc-execute(1)
- lxc-device(1)
- lxc-top(1)
- lxc-autostart(1)
- lxc-usernsexec(1)
- lxc-freeze(1)
- pam_cgfs(8)
- lxc-unpriv-start(1)
- lxc-stop(1)
- lxc-unpriv-attach(1)
- lxc-user-nic(1)
- lxc-checkpoint(1)
- lxc-unfreeze(1)
- lxc.system.conf(5)
- lxc-console(1)
- lxc-wait(1)
- lxc.conf(5)
- lxc-update-config(1)
- lxc-destroy(1)
apt-get install lxc
Available languages:
en jaManual
| lxc-update-config(1) | lxc-update-config(1) |
NAME
lxc-update-config - LXC 2.1 より前の古い形式の設定ファイルを新しい形式に更新する
SYNOPSIS
lxc-update-config
{-c config}
説明
lxc-update-config は、config で指定したファイルの古い形式の設定項目を検出し、適切な新しい設定項目に置き換えます。
lxc-update-config はまず、古い config ファイルのバックアップを config.backup という名前で同じディレクトリに作成します。そして、元の config ファイルを更新します。 更新が失敗した場合や、コンテナの起動ができない無効な config ファイルである場合は、ユーザが config と config.backup を比較して、手動で無効な設定項目を修正するか、config.backup を config にコピーして以前の設定ファイルに戻せます。
lxc-update-config が使えない config ファイルを生成した場合はバグですので、開発元に報告してください。
オプション
- -c, --config
- 更新したい設定ファイルのパス
- -h, --help
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)
| 2026-03-08 |