summaryrefslogtreecommitdiff
path: root/contrib/cirrus/packer/make-user-data.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-12-07 07:46:46 -0800
committerGitHub <noreply@github.com>2018-12-07 07:46:46 -0800
commitd4af59d57ce23747b255a466e1970f90d3e687fc (patch)
treeb8874e90303ec0f382b87448271d750b3b7a96cc /contrib/cirrus/packer/make-user-data.sh
parenta387c723a90a787a1d35c4a9b3b54347d5c08436 (diff)
parentcb900798ce63d8655740f93e0d0b9cc0ebd8144f (diff)
downloadpodman-d4af59d57ce23747b255a466e1970f90d3e687fc.tar.gz
podman-d4af59d57ce23747b255a466e1970f90d3e687fc.tar.bz2
podman-d4af59d57ce23747b255a466e1970f90d3e687fc.zip
Merge pull request #1788 from cevich/cirrus_base_images
Codify and document base-image production + Enable testing with Fedora
Diffstat (limited to 'contrib/cirrus/packer/make-user-data.sh')
-rw-r--r--contrib/cirrus/packer/make-user-data.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/cirrus/packer/make-user-data.sh b/contrib/cirrus/packer/make-user-data.sh
new file mode 100644
index 000000000..7f7fa1c1a
--- /dev/null
+++ b/contrib/cirrus/packer/make-user-data.sh
@@ -0,0 +1,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