Skip to content

Commit

Permalink
Merge pull request #244 from HarrisonWAffel/fix-duplicate-config-file…
Browse files Browse the repository at this point in the history
…-entries

Overwrite the config file during installation if needed
  • Loading branch information
HarrisonWAffel authored Sep 11, 2024
2 parents 8c1fdd9 + fc348ea commit 608ef47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,8 @@ white_list:
proxyPorts:
- 9796
"@
Add-Content -Path $env:CATTLE_AGENT_CONFIG_DIR/config -Value $winsConfig
# Overwrite the existing contents of the file using 'Set-Content'
Set-Content -Path $env:CATTLE_AGENT_CONFIG_DIR/config -Value $winsConfig

$agentConfig =
@"
Expand Down

0 comments on commit 608ef47

Please sign in to comment.