Skip to content

Instantly share code, notes, and snippets.

@jseguillon
Last active April 19, 2020 17:14
Show Gist options
  • Save jseguillon/9a6f6f87bbe2e9fb22f199e9b4a9c087 to your computer and use it in GitHub Desktop.
Save jseguillon/9a6f6f87bbe2e9fb22f199e9b4a9c087 to your computer and use it in GitHub Desktop.
HyperV kubespray - trigger
# 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