Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#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
Owner

gowatana commented Jan 30, 2018

下記の投稿むけ。

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