more replacements

pull/13762/head
Sharif Elgamal 2022-03-09 22:29:59 -08:00
parent 1cd337dd89
commit b7954683b9
2 changed files with 4 additions and 4 deletions

View File

@ -22,8 +22,8 @@ support/scripts/genimage.sh -c "$GENIMAGE_CFG"
cd "$BINARIES_DIR"
mkdir -p root/boot
cp bzImage root/boot/bzimage
cp rootfs.cpio.gz root/boot/initrd
cp bzImage root/boot/vmlinuz
cp rootfs.cpio.gz root/boot/initrd.img
mkdir -p root/EFI/BOOT
cp efi-part/EFI/BOOT/* root/EFI/BOOT/
cp efiboot.img root/EFI/BOOT/

View File

@ -207,8 +207,8 @@ func (d *Driver) createHost() (*hyperkit.HyperKit, error) {
}
// TODO: handle the rest of our settings.
h.Kernel = d.ResolveStorePath("bzimage")
h.Initrd = d.ResolveStorePath("initrd")
h.Kernel = d.ResolveStorePath("vmlinuz")
h.Initrd = d.ResolveStorePath("initrd.img")
h.VMNet = true
h.ISOImages = []string{d.ResolveStorePath(isoFilename)}
h.Console = hyperkit.ConsoleFile