Statistics
| Branch: | Revision:

root @ ab462591

# Date Author Comment
ab462591 05/20/2011 12:39 pm Constantinos Venetsanopoulos

Initial commit to extend ganeti-instance-image

Ganeti Instance Image will be extended to support
Ganeti OS Interface v20. The scope is to have an OS provider
that takes OS parameters from Ganeti and then uses them to customize
the Image creation process. The initial commit includes:...

5178b88b 04/01/2011 09:15 pm Lance Albertson

Update spec file for new version

e39576a6 04/01/2011 08:56 pm Lance Albertson

Update debian build scripts * Fix qemu dep * Update maintainer to be me * Version bump

b44bd116 04/01/2011 08:54 pm Lance Albertson

Ignore debian temp build files

39f9ff5b 03/26/2011 01:40 am Lance Albertson

Mention hooks directory change

b8a540bb 03/26/2011 01:13 am Lance Albertson

add time for the system to settle

c247694b 03/26/2011 01:12 am Lance Albertson

They don't even get sent since we have set -e set

Revert "add sanity checks for uuids"

This reverts commit dbaeaa2e4d7b6858c6a5a9f97862892d9ebdba14.

dbaeaa2e 03/26/2011 01:06 am Lance Albertson

add sanity checks for uuids

Sometimes the uuid's don't get set or found properly

b6ccd2b4 03/26/2011 01:05 am Lance Albertson

use new variable

d9679ad7 03/26/2011 12:50 am Lance Albertson

fix syntax error

6ff189ec 03/25/2011 07:56 pm Lance Albertson

Update changelog, prep for 0.5 release

139cbdf5 03/25/2011 07:53 pm Lance Albertson

Ticket #3855: New hook for properly setting DHCP clients for DDNS

2146dd61 03/25/2011 07:50 pm Lance Albertson

Add "sync" after running mkfs/mkswap

78422bb3 03/25/2011 07:45 pm Lance Albertson

Reduce normal commands output by redirecting to /dev/null

Much of the commands we run (i.e. mkfs, mkswap, sfdisk) produce output that
isn't really needed.

599b34d2 03/25/2011 01:59 am Lance Albertson

Ticket #3849: Fix Hostnames being set incorrectly on Debian/Ubuntu

c7603521 03/11/2011 02:28 am Lance Albertson

Ticket #2295: Improvements for installing on Debian Lenny

99efa839 03/11/2011 02:23 am Lance Albertson

Ticket #3687: Add --DOS flag to give better support for grub2

241fb6e1 03/11/2011 01:59 am Lance Albertson

Ticket #1737: Also delete .pub key files

828670a1 03/11/2011 01:30 am Lance Albertson

Ticket #669: set CDINSTALL=no for default behaviour

83edc99e 03/11/2011 01:16 am Lance Albertson

Ticket #243: Add support for resetting the ssh host keys in Debian/Ubuntu

c6d45f5f 02/22/2011 02:03 am Lance Albertson

fix syntax error

0bde4a2a 02/12/2011 02:07 am Lance Albertson

Add sleep 2 call after mkfs

During re-installs using ext4, we need to give the system a little time after a
mkfs call. Otherwise blkid will not be able to get the UUID sometimes.

8727c57d 11/25/2010 04:40 am Lance Albertson

Ticket #219: Add NOMOUNT option to allow Windows install

Use included patch but extend to import, export, and rename scripts. For now
rename does nothing since we have no way of knowing what the image might be
(windows, linux, etc).

af758a63 11/25/2010 04:40 am Lance Albertson

fix syntax error

6bea612e 11/25/2010 04:35 am Lance Albertson

Ticket #1767 add /usr/sbin and /sbin to paths

64018e9c 11/23/2010 12:00 am Lance Albertson

Ticket #939: add rpm spec file

84472880 11/22/2010 01:15 am Lance Albertson

Ticket #207: Copy files into instances using overlays

9014a39d 11/22/2010 01:15 am Lance Albertson

Ticket #1749: Fix IMAGE_DEBUG to accept "yes" for enabling the feature

9cdb305c 09/08/2010 01:48 am Lance Albertson

fix typo mentioned in Issue #99 and rename defaults -> default

e1f62f2d 09/08/2010 01:28 am Lance Albertson

Include debian package files for building deps (Issue #93)

Thanks to Ed Lim for the patch!

549118f0 09/08/2010 01:20 am Lance Albertson

Change the customization directory

Align with other upstream packages. See commit f79e471d in instance-debootstrap
for more explaination.

c142f9cf 06/20/2010 03:42 am Lance Albertson

example kickstart/preseed files

928de7e8 05/23/2010 02:44 am Lance Albertson

fix typo

564eaa79 05/07/2010 09:20 pm Lance Albertson

Release 0.4

251bf5a4 05/07/2010 09:14 pm Lance Albertson

update documentation

be751693 05/07/2010 07:48 pm Lance Albertson

switch default image type to dump

c40fd6ae 05/07/2010 07:04 pm Lance Albertson

misc fixes to grub settings

  • Fix the CMDLINE code for grub2 so that you can add additional arguments later
  • Enable showing of the hidden menu in grub2 so we can choose other kernels more easily
  • Add ability to add artibrary kernel boot args from a variant file...
c838e846 05/07/2010 06:53 pm Lance Albertson

Add partial grub2 support

We still cannot run update-grub inside of the chroot so all the settings we
changed will not be updated. Running update-grub after the instance is online
should fix this issue. I plan to open a bug to try and get this fixed upstream...

3e1d9348 04/13/2010 02:22 am Lance Albertson

Release 0.3.1

1c571a34 04/13/2010 02:07 am Lance Albertson

sync filesystems prior to umounting

There's an annoying upstream bug with ext4 currently that makes umount's take a
long time to complete [1]. Its also good practice to do this anyways.

[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/543617

6fc42d4e 04/03/2010 02:14 am Lance Albertson

check to make sure the device actually exists

6283359b 04/03/2010 12:53 am Lance Albertson

Release 0.3

6cee02d4 04/03/2010 12:50 am Lance Albertson

Add documentation for the new static IP feature

21136223 04/03/2010 12:25 am Lance Albertson

Move variants.list to /etc and create a symlink back to /usr/share

add6b6bf 04/01/2010 12:42 am Lance Albertson

fix typo

2566fc23 04/01/2010 12:38 am Lance Albertson

rename directory to hooks to line up with upstream

a04a3ce8 04/01/2010 12:30 am Lance Albertson

Fix typoes and missing closing fi's

7193962d 03/31/2010 08:52 pm Lance Albertson

add missing variable

276c74b6 03/31/2010 03:20 am Lance Albertson

Add support for setting IPs statically

e8343ddd 03/31/2010 12:24 am Lance Albertson

Release 0.2

c68199e5 03/31/2010 12:23 am Lance Albertson

Add and update changelog

4c96e490 03/30/2010 11:10 pm Lance Albertson

Add ability to set the filesystem to either ext3 or ext4

fd786991 03/30/2010 11:02 pm Lance Albertson

Add ability to manually set the size of the swap partition

cb8a342a 03/12/2010 12:19 am Lance Albertson

update gitignore

5fd109dc 03/12/2010 12:17 am Lance Albertson

Add AUTHORS file

3a58e5d7 03/12/2010 12:16 am Lance Albertson

Update documentation with dump details and other misc fixes

7ff088a6 03/10/2010 02:28 am Lance Albertson

cleanup kpartx after we're done

2f086264 03/10/2010 02:17 am Lance Albertson

Install the helper scripts into the instance os scripts directory under tools

2b851a1c 03/10/2010 02:05 am Lance Albertson

Add optional helper scripts for creating image dumps

0507e825 03/10/2010 01:20 am Lance Albertson

Add optional helper scripts for mounting nodes automatically

c2fca018 03/09/2010 09:15 pm Lance Albertson

Fix logic for when to install grub

9d35a15e 03/09/2010 08:13 pm Lance Albertson

fix typo

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

disable grub2 support for now until a solution is found

230410df 03/09/2010 02:57 am Lance Albertson

fix regex to be more aggresive when fixing serial on ubuntu

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
4a6ab93b 02/14/2010 12:04 am Lance Albertson

Merge branch 'master' of ssh://git.osuosl.org/var/git/ganeti-instance-image

13eb5d4c 02/14/2010 12:03 am Lance Albertson

Move boot_dir higher, and fix TARGET variables

0b56457d 02/13/2010 02:26 am Lance Albertson

deal with serial in karmic since it works differently

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.

49ae2760 02/13/2010 02:18 am Lance Albertson

fix the path for lsb_release

a3e24c37 02/12/2010 08:11 pm Lance Albertson

fix sed command

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

Tell sed to follow symlinks

6f7ac139 02/12/2010 07:58 pm Lance Albertson

Use agetty instead of mingetty

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

Fix logic to be correct

a97ea696 02/12/2010 07:44 pm Lance Albertson

Use lsb_release inside of a chroot of the VM

0877f9c0 02/12/2010 07:40 pm Lance Albertson

use if fi statments otherwise it exits with 1 and fails

ecd82584 02/12/2010 03:29 am Lance Albertson

Add missing $target in setup_fstab for get_os_type

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

9f4b2c31 02/12/2010 01:05 am Lance Albertson

Add support for setting up the console automatically

abade4ea 02/12/2010 12:27 am Lance Albertson

Add get_os and get_os_release functions, refacter get_os_type

get_os:
Returns the exact operating system

get_os_release:
Returns the release of the operating system

Switch get_os_type to use an argument for the target location and also ensure
that it gets checked.

0d9031a6 02/11/2010 01:14 am Lance Albertson

local can only be used in functions

3903b7f1 02/11/2010 12:48 am Lance Albertson

Add support for setting up /etc/fstab properly

494927a8 02/11/2010 12:07 am Lance Albertson

Fix dynamic partition to use its own function

I discovered that bash wasn't setting the environment variables correctly and
realized I need to refactor how I do this. Now I have a map_partition to figure
out the exact path for a specific partition.

NOTE: fstabs are currently broken because of this addition

9a259787 02/10/2010 08:20 pm Lance Albertson

Remove quotes from device in the sfdisk command

77449e7c 02/10/2010 08:12 pm Lance Albertson

Add optional support for no /boot partition

Allow for more flexibility for which partitions you need or what. It will allow
for four different partition layouts depending on whether you want a swap
partition or booting a kernel outside of the VM.

Also merge the partition mapping for root_dev, boot_dev, & swap_dev entirely...

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

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

6f258fa8 02/10/2010 02:40 am Lance Albertson

Clean up interface setup

  • Use INSTANCE_NAME instead of doing a dns lookup
  • Use a short dns name for gentoo instead of fqdn
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.

640e7e45 02/10/2010 02:06 am Lance Albertson

Add initial support for dump/restore based images

314b080b 02/10/2010 01:23 am Lance Albertson

Check both instance name with and without fdqn

7e603c5d 02/09/2010 09:14 pm Lance Albertson

Fix rename

  • Use fqdn instead of common name
  • Strip out "
  • Use correct sed command
4e6bf28c 02/07/2010 02:44 am Lance Albertson

Merge branch 'master' of ssh://git.osuosl.org/var/git/ganeti-instance-image

1b617fb5 02/06/2010 01:42 am Lance Albertson

Create temp directory for dumps

70054ca5 02/06/2010 01:36 am Lance Albertson

add -f to mkswap to remove warning message

8d72e8d8 02/06/2010 01:30 am Lance Albertson

Switch to having dump compress the images on the fly, fix a few bugs too

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

Fix logic which determines when to run grub by default

39b1484a 02/05/2010 11:56 pm Lance Albertson

Improve and fix import/export to using separate dump files and tar

Also condense the code some more and reduce redundancy.

4bafe20b 02/05/2010 07:52 pm Lance Albertson

Don't format the disk during an export (mis-paste on my part)