Skip to content

Commit

Permalink
Merge pull request #245 from justinsb/cloud_init_on_aws
Browse files Browse the repository at this point in the history
container-image: install cloud-init on AWS
  • Loading branch information
k8s-ci-robot authored and jsen- committed Jun 10, 2020
2 parents 3e9ddbc + 3f69a8a commit eded51d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions images/capi/ansible/node.retry
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
default
2 changes: 2 additions & 0 deletions images/capi/ansible/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# limitations under the License.
---
- hosts: all
vars:
ansible_python_interpreter: "/usr/bin/python3"
become: yes

tasks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ RUN apt-get -y install --no-install-recommends cloud-init
# Configure default user (admin) to match debian default image
# https://salsa.debian.org/cloud-team/debian-cloud-images/-/blob/master/config_space/files/etc/cloud/cloud.cfg.d/01_debian_cloud.cfg/EC2
COPY 01_debian_cloud.cfg /etc/cloud/cloud.cfg.d/

RUN echo "cloud-init cloud-init/datasources multiselect Ec2" | debconf-set-selections
RUN apt-get -y install --no-install-recommends cloud-init

0 comments on commit eded51d

Please sign in to comment.