1. 08 Nov, 2017 22 commits
  2. 30 Oct, 2017 6 commits
  3. 27 Oct, 2017 1 commit
  4. 19 Oct, 2017 3 commits
  5. 18 Oct, 2017 1 commit
  6. 17 Oct, 2017 6 commits
  7. 11 Oct, 2017 1 commit
    • confile: make update warning opt-in · 25af2ac7
      Christian Brauner authored
      With the release LXC 2.1 we started warning users who use LXC through the API
      and users who use LXC through the tools equally about updating their config.
      This quickly got confusing and annoying to API users who e.g. generate configs
      on the fly (e.g. LXD). So instead of unconditionally warning users we make this
      opt-in. If LXC detects that the env variable LXC_UPDATE_CONFIG_FORMAT is set
      then it will warn the user if any legacy configuration keys are present. If it
      is not set however, it will not warn the user. This is ok, since the log will
      still log WARN()s for all legacy configuration keys.
      The tools will all set LXC_UPDATE_CONFIG_FORMAT since it is very much required
      that users update to the new configuration format pre-LXC 3.0.
      Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>