Statistics
| Branch: | Revision:

root / example / instance-image.d / grub @ c2fca018

History | View | Annotate | Download (4.2 kB)

# Date Author Comment
c2fca018 03/09/2010 09:15 pm Lance Albertson

Fix logic for when to install grub

1c9956c3 03/09/2010 07:47 pm Lance Albertson

disable grub2 support for now until a solution is found

8000c2d8 03/09/2010 02:49 am Lance Albertson

fix logic for when to install grub

07d32070 02/14/2010 12:39 am Lance Albertson

Fix grub installs for 2.x

  • Add functions for setting up grub devices in the chroot, and adding the
    device.map file
  • Dynamically set the boot and root partition numbers since it changes
    depending on the layout
  • Add device.map file for grub-2.x so that it works correctly
13eb5d4c 02/14/2010 12:03 am Lance Albertson

Move boot_dir higher, and fix TARGET variables

5edb4a94 02/13/2010 02:19 am Lance Albertson

If the grub config is using UUID, ensure it gets updated

Other fixes include only skip setting up grub, don't skip setting up the serial
stuff.

c3d1b43e 02/12/2010 08:07 pm Lance Albertson

Tell sed to follow symlinks

ad81a23e 02/12/2010 07:45 pm Lance Albertson

Fix logic to be correct

9404f8cd 02/12/2010 02:45 am Lance Albertson

Add proper console option to kernel options

Also fix grub-2.x so that it points to the correct file to munge, and also run
update-grub once its done.

91767b54 02/12/2010 01:23 am Lance Albertson

Add support for setting up serial consoles with grub

09f30efb 02/10/2010 06:47 pm Lance Albertson

Only setup grub if there isn't a kernel set in kernel_path

de32ceea 02/10/2010 02:35 am Lance Albertson

Adjust logic for when to setup grub

Deciding when to setup grub is a pain depending on several situations. If
you're using tarball, you may or may not use a kernel outside of the
install. But if you're importing/exporting, you are still in a similar
situation. This logic should fix it hopefully.

99cc268e 02/06/2010 01:01 am Lance Albertson

Fix logic which determines when to run grub by default

e7a2d1ad 02/05/2010 01:59 am Lance Albertson

Refactor debugging code to be saner and actually work

39855ac4 02/04/2010 02:08 am Lance Albertson

Setup grub (if enabled) during an import

e0f1ce56 02/03/2010 11:09 pm Lance Albertson

code cleanup, remove bits we don't use from the debootstrap import

f1afb4b1 02/03/2010 08:23 pm Lance Albertson

Add OSU Copyright headers

611fa6b0 02/03/2010 08:18 pm Lance Albertson

Create IMAGE_DEBUG variable to enable debugging output

DEBUG_LEVEL isn't working yet in ganeti [1], so lets add an option so we can at
least use something.

[1] http://groups.google.com/group/ganeti/browse_thread/thread/948ec6705ae69798

e84e87cd 02/02/2010 11:50 pm Lance Albertson

If debug is set, show commands in log file

c3e07762 02/02/2010 08:47 pm Lance Albertson

Remove GRUB_SETUP and just assume you only need this for tarball image types

775f4f72 02/02/2010 02:16 am Lance Albertson

rename to correct name