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

This commit is contained in:
grossmj committed 2022-06-08 01:07:31 +08:00
1 parent 527d4bb3ea
commit 988ca7574c
1 file changed
+2 -1
+2 -1
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):