Last active
April 19, 2020 17:14
-
-
Save jseguillon/9a6f6f87bbe2e9fb22f199e9b4a9c087 to your computer and use it in GitHub Desktop.
HyperV kubespray - trigger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add second itf with staic ip for robust k8s | |
machine.trigger.after :up do |trigger| | |
trigger.run = {privileged: "true", powershell_elevated_interactive: "true", | |
path: "./addItfIfNotExists.ps1", args: ["-vmName", name, "-macAddrCtrlPlane", secondMac]} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment