Skip to content

Commit

Permalink
feat(vm): Show nmdm(4) port number on Info grid if VM is running.
Browse files Browse the repository at this point in the history
  • Loading branch information
araujobsd committed May 4, 2017
1 parent a87e145 commit 3a223a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/api/resources.py
Expand Up @@ -3647,6 +3647,7 @@ def dehydrate(self, bundle):
device_stop_url = reverse(
'vm_stop', kwargs={'id': bundle.obj.id},
)
info+= 'Com Port: /dev/nmdm{}B<br />'.format(bundle.obj.id)
elif state == 'STOPPED':
device_start_url = reverse(
'vm_start', kwargs={'id': bundle.obj.id},
Expand Down

0 comments on commit 3a223a6

Please sign in to comment.