Include script to simplify UUID regeneration process

Bug #209847 reported by Mario Limonciello
6
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: casper

Attached is a script that can be used for assisting the regeneration of UUIDs used in casper. It is particularly useful when a system may already include a disk with the same UUID by default, to ensure that the correct casper directory is selected.

Related branches

Revision history for this message
Mario Limonciello (superm1) wrote :

Updated script

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks! I made a few small changes:

  * renamed to casper-uuid to fit local naming convention
  * added 'set -e', a good idea for all shell scripts
  * added -h/--help, since this caught me out on first try
  * double-quoted all shell variable expansions (careful to avoid double-quoting wildcards, since that will make them stop working)

I've attached the differences.

Revision history for this message
Colin Watson (cjwatson) wrote :

... actually, 'casper-new-uuid' is a better name.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package casper - 1.129

---------------
casper (1.129) hardy; urgency=low

  * Add COPYING file with GPL text (LP: #211923).
  * Add casper-new-uuid script to simplify UUID regeneration process,
    contributed by Mario Limonciello of Dell (LP: #209847).
  * Update casper-snapshot for genext2fs --reserved-blocks =>
    --reserved-percentage option change (LP: #202048). Add a Breaks as the
    most lightweight available method of documenting that we need genext2fs
    >= 1.4.1 for this.

 -- Colin Watson <email address hidden> Thu, 10 Apr 2008 01:45:47 +0100

Changed in casper:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.