Add hostname entry to sample network config for Docker nodes. Fixes #2039

This commit is contained in:
grossmj 2022-06-08 01:07:31 +08:00
parent 527d4bb3ea
commit 988ca7574c

View File

@ -314,7 +314,8 @@ class DockerVM(BaseNode):
# DHCP config for eth{adapter}
#auto eth{adapter}
#iface eth{adapter} inet dhcp
""".format(adapter=adapter))
#hostname {hostname}
""".format(adapter=adapter, hostname=self._name))
return path
async def create(self):