Merge lp://staging/~rcj/vmbuilder/jenkins_kvm into lp://staging/~ubuntu-on-ec2/vmbuilder/jenkins_kvm

Proposed by Robert C Jennings
Status: Merged
Merged at revision: 825
Proposed branch: lp://staging/~rcj/vmbuilder/jenkins_kvm
Merge into: lp://staging/~ubuntu-on-ec2/vmbuilder/jenkins_kvm
Diff against target: 15 lines (+5/-0)
1 file modified
templates/img-update.tmpl (+5/-0)
To merge this branch: bzr merge lp://staging/~rcj/vmbuilder/jenkins_kvm
Reviewer Review Type Date Requested Status
Cody Shepherd (community) Approve
Francis Ginther (community) Approve
Review via email: mp+366522@code.staging.launchpad.net

Commit message

builder: Force boot with initramfs on disco

The initramfs-less boot causes a panic on initial boot for disco.
This should send it back to grub to reboot with an initramfs,
but the builder image is invoked with -no-reboot on the kvm command
line so the initramfs-less boot mechanism results in a panic and
no recovery. Rather than change how we launch to remove -no-reboot
this patch alters the grub environment to boot the first time with
an initrd.

Setting the initrdfail=1 grub variable for the builder means
that we boot correctly on the first boot and find the rootfs.

To post a comment you must log in.
Revision history for this message
Francis Ginther (fginther) :
review: Approve
Revision history for this message
Robert C Jennings (rcj) wrote :

With this change the disco builder does boot in production and begin image customization.

Revision history for this message
Cody Shepherd (codyshepherd) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches