Open
Conversation
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.
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.