Skip to content

Instantly share code, notes, and snippets.

@codyde
Created February 13, 2018 04:15
Show Gist options
  • Save codyde/5a0a77853dbfcff699a31a8fd1195d2e to your computer and use it in GitHub Desktop.
Save codyde/5a0a77853dbfcff699a31a8fd1195d2e to your computer and use it in GitHub Desktop.
XaaS - Network Selection
if (Network == "Common"){
catRequestJSON.Ubuntu1604.data["VirtualMachine.Network0.Name"] = "Common-VLAN"
} else if (Network == "Web"){
catRequestJSON.Ubuntu1604.data["VirtualMachine.Network0.Name"] = "Web-VLAN"
} else if (Network == "DB"){
catRequestJSON.Ubuntu1604.data["VirtualMachine.Network0.Name"] = "DB-VLAN"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment