fix build_host set if it doesn't exist
This commit is contained in:
@@ -165,8 +165,7 @@ class Machine:
|
|||||||
"""
|
"""
|
||||||
build_host = self.override_build_host or self.deployment.get("buildHost")
|
build_host = self.override_build_host or self.deployment.get("buildHost")
|
||||||
if build_host is None:
|
if build_host is None:
|
||||||
with self.target_host() as target_host:
|
yield None
|
||||||
yield target_host
|
|
||||||
return
|
return
|
||||||
# enable ssh agent forwarding to allow the build host to access the target host
|
# enable ssh agent forwarding to allow the build host to access the target host
|
||||||
yield parse_deployment_address(
|
yield parse_deployment_address(
|
||||||
|
|||||||
Reference in New Issue
Block a user