Category "cloud-init"

user-data shell is not executed when an EC2 instance launched by ASG/Launch Configuration with custom AMI

I have a set of Auto scaling group and launch configuration to manage certain EC2 instances. After changing the AMI to a custom AMI, the user data script that I

Cloud-init only creating default user

Very new to cloud-init but from what I can tell from the docs and examples I should be able to add a new user, add it to sudo and have it create a home director

Can I run cloud init as a different user than root?

I am trying to run cloud init as a different user than root, because of permissions problem when using git. Is there such a way?

How can I use cloud-init to set up a VM with multipass that includes zsh?

I'm learning to use multipass. My version of multipass is multipass 1.9.0+mac. I'm trying to create a very simple cloud-init configuration: package: - build-e