Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
2 answers
93 views

Is it safe to store hashed password in /etc/cloud/cloud.cfg of cloud-init? [closed]

I am creating a custom AMI for my AWS EC2 Instances. I am trying to configure a user's password via cloud-init. I am doing it using passwd in cloud-init's config. I was surprised to find out that ...
Yury Hrytsuk's user avatar
2 votes
0 answers
155 views

How to check if AWS AMI support cloud-init?

In AWS Console when launching an instance with any image I get "user data" field to fill in optionally to be later executed by cloud-init. However, not all images support cloud-init. How do ...
Tammar Scream's user avatar
3 votes
1 answer
812 views

Why does running cloud-init script on EC2 change my shell?

Calling all cloud-init and EC2 gurus... I can't figure this out. I'm using a cloud-init script to bootstrap an EC2 aws-ami instance (through AWS CloudFormation) and when I include the write_files ...
Albert Rannetsperger's user avatar
1 vote
1 answer
947 views

Is it possible to delay jenkins from connecting to a slave before the cloud init script has run

I have a cloud init script #cloud-config package_upgrade: true packages: - openjdk-8-jdk - apt-transport-https - git - jq groups: - docker users: - default - name: jenkins groups: ...
David's user avatar
  • 8,166
12 votes
1 answer
6k views

/var/log/cloud-init-output.log is not present on RHEL 7.5

I've got a custom hardended RHEL 7.5 custom AMI. I want to use user data to complete some deploy time configuration. I've already ensured that /var/lib/cloud/* is removed before I create the AMI. ...
Josh Kodroff's user avatar
  • 28.1k