mirror of
https://github.com/ceph/ceph
synced 2024-12-30 07:23:11 +00:00
14 lines
476 B
Plaintext
14 lines
476 B
Plaintext
#cloud-config
|
|
bootcmd:
|
|
- echo nameserver 8.8.8.8 | tee -a /etc/resolv.conf # last resort, in case the DHCP server does not provide a resolver
|
|
manage_etc_hosts: true
|
|
preserve_hostname: true
|
|
users:
|
|
- name: ubuntu
|
|
gecos: User
|
|
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
|
|
groups: users
|
|
runcmd:
|
|
- ( MYHOME=/home/ubuntu ; mkdir $MYHOME/.ssh ; chmod 700 $MYHOME/.ssh ; cp /root/.ssh/authorized_keys $MYHOME/.ssh ; chown -R ubuntu.users $MYHOME/.ssh )
|
|
final_message: "READYTORUN"
|