qvm-ls: fix printing label
This commit is contained in:
parent
e7cba0214f
commit
af1a6a49bd
@ -409,6 +409,10 @@ class StatusColumn(Column):
|
|||||||
|
|
||||||
# todo maxmem
|
# todo maxmem
|
||||||
|
|
||||||
|
Column('LABEL', width=14,
|
||||||
|
attr='label.name',
|
||||||
|
doc='Colour of the label.')
|
||||||
|
|
||||||
Column('GATEWAY', width=15,
|
Column('GATEWAY', width=15,
|
||||||
attr='netvm.gateway',
|
attr='netvm.gateway',
|
||||||
doc='Network gateway.')
|
doc='Network gateway.')
|
||||||
|
@ -131,7 +131,6 @@ class QubesVM(qubes.vm.BaseVM):
|
|||||||
label = qubes.property('label',
|
label = qubes.property('label',
|
||||||
setter=_setter_label,
|
setter=_setter_label,
|
||||||
saver=(lambda self, prop, value: 'label-{}'.format(value.index)),
|
saver=(lambda self, prop, value: 'label-{}'.format(value.index)),
|
||||||
ls_width=14,
|
|
||||||
doc='''Colourful label assigned to VM. This is where the colour of the
|
doc='''Colourful label assigned to VM. This is where the colour of the
|
||||||
padlock is set.''')
|
padlock is set.''')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user