blob: 7b8b130d9667f1a8ad63b8fba68588d624132bc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
##
### Arch Linux cloud.cfg - This config enables Archlinux tested/compatible cloud-init modules.
##
# Not using additional user / sudoers scheme.
disable_root: false
# Allow cloud-init to set the hostname.
preserve_hostname: false
ssh_genkeytypes: ['dsa', 'rsa', 'ecdsa', 'ed25519']
# The modules that run in the 'init' stage.
cloud_init_modules:
- bootcmd
- write-files
- set_hostname
- update_hostname
- update_etc_hosts
- users-groups
- ssh
# The modules that run in the 'config' stage.
cloud_config_modules:
- runcmd
# The modules that run in the 'final' stage.
cloud_final_modules:
- rightscale_userdata
- scripts-per-once
- scripts-per-boot
- scripts-per-instance
- scripts-user
- ssh-authkey-fingerprints
- keys-to-console
- final-message
# root:log matches the rest of the logs on Arch
syslog_fix_perms: root:log
system_info:
distro: arch
default_user:
name: archlinux
lock_passwd: True
gecos: Archlinux
groups: [adm, audio, floppy, video]
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
shell: /bin/bash
paths:
cloud_dir: /var/lib/cloud/
templates_dir: /etc/cloud/templates/
ssh_svcname: sshd
|