Skip to content

Instantly share code, notes, and snippets.

@gowatana
Last active January 30, 2018 23:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gowatana/8482f33178a7ffb4d8fc4e938ca499eb to your computer and use it in GitHub Desktop.
Save gowatana/8482f33178a7ffb4d8fc4e938ca499eb to your computer and use it in GitHub Desktop.
#cloud-config
disable_root: false
ssh_pwauth: true
package_upgrade: false
users:
- name: ntnx
shell: /bin/bash
sudo: ['ALL=(ALL) NOPASSWD:ALL']
passwd: $6$JdTzBZQk$BV8RPXPpkcFKXFiMmk3rQ61GorukIWswvX2TFM5F0W0XX4foCTCKyA6OxRL85LPZNPOdNE3B//TKYqgQPCl3N/
lock_passwd: false
yum_repos:
epel:
baseurl: http://download.fedoraproject.org/pub/epel/7/$basearch
name: Extra Packages for Enterprise Linux 7 - $basearch
enabled: true
gpgcheck: false
packages:
- 2048-cli
runcmd:
- echo 'export PATH=/usr/bin:$PATH' >> /home/ntnx/.bash_profile
- echo 'alias 2048="2048 -c"' >> /home/ntnx/.bash_profile
- chown -R ntnx:ntnx /home/ntnx
@gowatana
Copy link
Author

下記の投稿むけ。

Nutanix CE の cloud-init で 2048。(CentOS 7 編)
http://blog.ntnx.jp/entry/2018/01/31/075811

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