Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openstack cloudinit #23

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vondrt4
Copy link
Contributor

@vondrt4 vondrt4 commented May 3, 2016

Before you start testing, I've got version 2. It integrates cloud-init. And it resolves the package conflict for good :-). More in the commit message.

Issues fixed:
Output of kernel, init and inithooks correctly displayed in console.
SystemD working again.
Root disk is grown to match flavor size; done without reboot.
Kernel updates possible.

Old AMI version retained as openstack-ami.
This change removes all ec2 user data functionality from inithooks
and relies on cloud-init for that.

Inithooks init scripts are made to depend on cloud-init's cloud-config parsing.

User data may be in #cloud-config format or a #!/bin/bash script, meaning that
e.g. user creation can be done in cloud-init, or you can change passwords
by inithooks preseeding, possibly both using cloud-init's "write file".

Turnkey-init-fence script now covers all possible created user accounts.
Turnkey-sudoadmin is made obsolete, at least in this build.

All bugs should remain fixed, as in the last pull request.

Possible caveats:
Turnkey-init-fence runs later in the boot process.

Root password login works on the VNC console AND through ssh. Is it a problem?
Cloud-init's settings to disable it get overwritten by inithooks.

Did I break something related to the Hub? I believe not, at least directly,
as the functionality is absent from non-EC2 builds.
It's not as important now, but once we integrate it with OpenStack...
Modified bootloader and fstab to work with both /dev/sda1 and /dev/vda1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant