Created
December 4, 2018 15:27
-
-
Save codyde/a0437b9fe8f247edbc8d02c1dca406ba to your computer and use it in GitHub Desktop.
This file contains 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
inputs: | |
username: | |
type: string | |
title: Username | |
resources: | |
web1: | |
type: Cloud.Machine | |
networks: | |
- name: '${Cloud_Network_1.name}' | |
properties: | |
count: 1 | |
image: Ubuntu | |
constraints: | |
- tag: 'cloud:vsphere' | |
flavor: medium | |
cloudConfig: | | |
#cloud-config | |
users: | |
- name: ${input.username} | |
sudo: ['ALL=(ALL) NOPASSWD:ALL'] | |
groups: [wheel, sudo, admin] | |
shell: '/bin/bash' | |
networks: | |
- name: '${AppNetwork.name}' | |
AppNetwork: | |
type: Cloud.Network | |
properties: | |
name: Core | |
networkType: existing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment