lp://staging/~ubuntu-on-ec2/ubuntu-on-ec2/uec-tools

Created by Scott Moser and last modified
Get this branch:
bzr branch lp://staging/~ubuntu-on-ec2/ubuntu-on-ec2/uec-tools
Members of Ubuntu on EC2 can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu on EC2
Project:
Ubuntu on EC2
Status:
Development

Recent revisions

7. By Scott Moser

fix use of global variable 'image' rather than local 'img'

verified script is functional against eucalyptus at
1.6~bzr931-0ubuntu7.3 using lucid tarball image 20091201 (no ramdisk
inside)

The following was working:
register-uec-tarball lucid-uec-i386.tar.gz lucid-daily-$(date +%Y%m%d)

6. By Scott Moser

support upload/register without kernel or ramdisk

This is very much a rewrite. Several changes/cleanups:
- add 'upload_register' function and use it for each of image,
  kernel, ramdisk
- use getopt and have Usage
- support the following for specifying kernel/ramdisk
  --kernel eki-xxxxxx (or 'none')
  --kernel-file /path/to/file
  --ramdisk eri-xxxxxx (or 'none')
  --ramdisk-file /path/to/file

The primary motivation for this is that the lucid uec tarballs do not have a
ramdisk, and we want this script to just work for those images.

5. By Scott Moser

rename register-euca-tarball to register-uec-tarball

4. By Scott Moser

add register-euca-tarball script for registering tarball

This registers a kernel,ramdisk,image into the same bucket.
Simply ease of use wrapper

3. By Scott Moser

remove debug code that forced xtrucate to take dd route

2. By Scott Moser

add 'xtruncate', and a refusal to work in-place on non-simple file

truncate did not appear in core-utils till karmic. This provides
a simple work alike with dd (I think). I've tested the dd work a bit,
creating a small filesystem, putting files in it, resizing up, filling
more, and then resizing down.

1. By Scott Moser

initial revision of resize-uec-image

versions of this script first appeared from mdz on ubuntu-devel, then
were modified by smoser and uploaded to bug 439868.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.