Fix ip address whiltelist value for hcl2 templates (#7409)
This commit is contained in:
@@ -264,7 +264,7 @@ Function GenerateResourcesAndImage {
|
|||||||
|
|
||||||
if ($builderScriptPath.Contains("pkr.hcl")) {
|
if ($builderScriptPath.Contains("pkr.hcl")) {
|
||||||
if ($AgentIp) {
|
if ($AgentIp) {
|
||||||
$AgentIp = '[ \"{0}\" ]' -f $AgentIp
|
$AgentIp = '[ "{0}" ]' -f $AgentIp
|
||||||
} else {
|
} else {
|
||||||
$AgentIp = "[]"
|
$AgentIp = "[]"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user