aboutsummaryrefslogtreecommitdiff
path: root/contrib/cirrus/packer/make-user-data.sh
blob: 7f7fa1c1af4382f6ec9d14ef2104d617d7708811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

# This script is utilized by Makefile, it's not intended to be run by humans

cat <<EOF > user-data
#cloud-config
timezone: US/Eastern
growpart:
    mode: auto
disable_root: false
ssh_pwauth: True
ssh_import_id: [root]
ssh_authorized_keys:
    - $(cat cidata.ssh.pub)
users:
   - name: root
     primary-group: root
     homedir: /root
     system: true
EOF