[Feature request] "labkey ssh" access to a bridge as well besides a physical interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
canonical-server-hwe-utils |
New
|
Undecided
|
Unassigned |
Bug Description
The current d05-2 node uses a bridge (of a physical interface) as the main PXE port. This configuration may result in the failure of "labkey ssh" smart connection[1].
We may enhance labkey to pick up the corresponding IP information of bridge and physical interface both, rather than re-configure d05-2 "back to normal" every time.
[1] labkey ssh d05-2 (after d05-2 is deployed) will raise Traceback:
Traceback (most recent call last):
File "./labkey", line 401, in <module>
m.ssh()
File "./labkey", line 309, in ssh
ip = machine.
File "/home/
return self._items[spec]
IndexError: list index out of range