Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created May 31, 2021 12:04
Show Gist options
  • Select an option

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

Select an option

Save gowatana/1f5848e901da0fffc2558560b1db7cdb to your computer and use it in GitHub Desktop.
#cloud-config
disable_root: true
ssh_pwauth: true
package_upgrade: false
users:
- name: nutanix
lock-passwd: false
sudo: ALL=(ALL) NOPASSWD:ALL
chpasswd:
list: |
nutanix:nutanix/4u
expire: false
packages:
- git
- unzip
- epel-release
runcmd:
- yum install -y ansible
- alternatives --set python /usr/bin/python3
@gowatana
Copy link
Copy Markdown
Author

下記の投稿むけ。

Nutanix CE / AHV に Ansible のインストールされた VM 作成してみる。(Cloud-init 編)
https://blog.ntnx.jp/entry/2021/05/31/212446

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