Make shutdown list colour yellow
This commit is contained in:
parent
51843cf911
commit
a3c6f22b02
6
pvc.py
6
pvc.py
|
@ -999,10 +999,12 @@ def _vm_list(hypervisor):
|
|||
for vm in vm_list:
|
||||
if vm_state[vm] == 'start':
|
||||
vm_state_colour = ansiiprint.green()
|
||||
elif vm_state[vm] == 'stop':
|
||||
vm_state_colour = ansiiprint.red()
|
||||
elif vm_state[vm] == 'restart':
|
||||
vm_state_colour = ansiiprint.yellow()
|
||||
elif vm_state[vm] == 'shutdown':
|
||||
vm_state_colour = ansiiprint.yellow()
|
||||
elif vm_state[vm] == 'stop':
|
||||
vm_state_colour = ansiiprint.red()
|
||||
else:
|
||||
vm_state_colour = ansiiprint.blue()
|
||||
|
||||
|
|
Loading…
Reference in New Issue