|
|
@ -335,7 +335,6 @@ class DockerVM(BaseNode):
|
|
|
|
|
|
|
|
|
|
|
|
params = {
|
|
|
|
params = {
|
|
|
|
"Hostname": self._name,
|
|
|
|
"Hostname": self._name,
|
|
|
|
"Name": self._name,
|
|
|
|
|
|
|
|
"Image": self._image,
|
|
|
|
"Image": self._image,
|
|
|
|
"NetworkDisabled": True,
|
|
|
|
"NetworkDisabled": True,
|
|
|
|
"Tty": True,
|
|
|
|
"Tty": True,
|
|
|
@ -687,7 +686,6 @@ class DockerVM(BaseNode):
|
|
|
|
# resize the container TTY.
|
|
|
|
# resize the container TTY.
|
|
|
|
await self._manager.query("POST", "containers/{}/resize?h={}&w={}".format(self._cid, rows, columns))
|
|
|
|
await self._manager.query("POST", "containers/{}/resize?h={}&w={}".format(self._cid, rows, columns))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async def _start_console(self):
|
|
|
|
async def _start_console(self):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
Starts streaming the console via telnet
|
|
|
|
Starts streaming the console via telnet
|
|
|
|