Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created December 30, 2024 09:16
Show Gist options
  • Select an option

  • Save gowatana/ff6cd9f40f2e0ab011c321deeeb6143f to your computer and use it in GitHub Desktop.

Select an option

Save gowatana/ff6cd9f40f2e0ab011c321deeeb6143f to your computer and use it in GitHub Desktop.
formatVersion: 1
inputs: {}
resources:
Cloud_NSX_Network_1:
type: Cloud.NSX.Network
metadata:
layoutPosition:
- 0
- 0
properties:
networkType: routed
Cloud_Machine_1:
type: Cloud.vSphere.Machine
metadata:
layoutPosition:
- 1
- 0
properties:
image: oracle-linux-9
flavor: small
networks:
- network: ${resource.Cloud_NSX_Network_1.id}
customizeGuestOs: true
cloudConfig: |
#cloud-config
ssh_pwauth: yes
users:
- name: demo
lock_passwd: false
sudo: ['ALL=(ALL) NOPASSWD:ALL']
chpasswd:
list: |
demo:VMware1!
expire: true
write_files:
- path: /etc/motd
content: |
-----------------------------
// Aria Automation Demo VM //
-----------------------------
@gowatana
Copy link
Author

下記の投稿むけ。

VCF 5.2 の Aria Automation で Cloud-init を利用してみる。
https://vm.gowatana.jp/entry/2024/12/30/183624

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment