[lxc-users] LXD - detect old configuration keys

MonkZ i at monkz.de
Sat Mar 24 14:28:01 UTC 2018


Nope - so what are the other 0,01%? ;)

architecture: x86_64
config:
  image.architecture: amd64
  image.description: ubuntu 17.10 amd64 (release) (20180314)
  image.label: release
  image.os: ubuntu
  image.release: artful
  image.serial: "20180314"
  image.version: "17.10"
  volatile.base_image:
c7cfac63aedfa6a5d68ae74bfa662bb03e97ada576dcd801768d617b3e59d3db
  volatile.eth0.hwaddr: 00:16:3e:67:8a:7a
  volatile.idmap.base: "2197152"
  volatile.idmap.next:
'[{"Isuid":true,"Isgid":false,"Hostid":2197152,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":2197152,"Nsid":0,"Maprange":65536}]'
  volatile.last_state.idmap:
'[{"Isuid":true,"Isgid":false,"Hostid":2197152,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":2197152,"Nsid":0,"Maprange":65536}]'
  volatile.last_state.power: RUNNING
devices: {}
ephemeral: false
profiles:
- default
stateful: false
description: ""

I think it would be nice if LXD/LXC reports those keys to have an option
to run a (verbose) sanity check on the config.

MfG
MonkZ

On 19.03.2018 00:49, Andrey Repin wrote:
> Greetings, MonkZ!
> 
>> Hiho,
> 
>> i'm running LXD 2.21 on Ubuntu. With my latest upgrade i got warnings like
>> "The configuration file contains legacy configuration keys.
>> Please update your configuration file!"
> 
>> Is there a way to list those keys?
> 
> 99,99% chances are it is lxc.raw
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180324/5f0cba1a/attachment.sig>


More information about the lxc-users mailing list