~ubuntu-on-ec2/vmbuilder/jenkins_kvm

Viewing all changes in revision 825.

  • Committer: Robert C Jennings
  • Date: 2019-04-25 17:22:33 UTC
  • mfrom: (824.1.1 jenkins_kvm)
  • Revision ID: robert.jennings@canonical.com-20190425172233-9mr76spd192fca8j
Merge lp:~rcj/vmbuilder/jenkins_kvm into lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm [a=rcj] [r=fginther,codyshepherd]

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.

MP: https://code.launchpad.net/~rcj/vmbuilder/jenkins_kvm/+merge/366522

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: