Do not use fixed disk identifiers by default
authorMichael Prokop <mika@grml.org>
Mon, 13 Oct 2014 12:37:28 +0000 (14:37 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 13 Oct 2014 19:05:40 +0000 (21:05 +0200)
This is calling for problems when dealing with multiple
disks/installations at the same time that have been installed via
grml-debootstrap.

Fixes #29 @ github

config
grml-debootstrap

diff --git a/config b/config
index 1da03f9..2da5109 100644 (file)
--- a/config
+++ b/config
 
 # Use fixed disk identifiers for Virtual Machine builds.
 # Useful for reproducible builds.
 
 # Use fixed disk identifiers for Virtual Machine builds.
 # Useful for reproducible builds.
-# Default: 'yes'
-# FIXED_DISK_IDENTIFIERS='no'
+# Default: 'no'
+# FIXED_DISK_IDENTIFIERS='yes'
 
 # Disk identifier when using FIXED_DISK_IDENTIFIERS='yes'.
 # Use uuid-runtime's uuidgen tool to generate random UUIDs on demand.
 
 # Disk identifier when using FIXED_DISK_IDENTIFIERS='yes'.
 # Use uuid-runtime's uuidgen tool to generate random UUIDs on demand.
index 4adb0be..b967baa 100755 (executable)
@@ -23,7 +23,7 @@ MNTPOINT="/mnt/debootstrap.$$"
 [ -n "$DISK_IDENTIFIER" ] || DISK_IDENTIFIER='26ada0c0-1165-4098-884d-aafd2220c2c6'
 [ -n "$EXTRAPACKAGES" ] || EXTRAPACKAGES='yes'
 [ -n "$FALLBACK_MIRROR" ] || FALLBACK_MIRROR='http://http.debian.net/debian'
 [ -n "$DISK_IDENTIFIER" ] || DISK_IDENTIFIER='26ada0c0-1165-4098-884d-aafd2220c2c6'
 [ -n "$EXTRAPACKAGES" ] || EXTRAPACKAGES='yes'
 [ -n "$FALLBACK_MIRROR" ] || FALLBACK_MIRROR='http://http.debian.net/debian'
-[ -n "$FIXED_DISK_IDENTIFIERS" ] || FIXED_DISK_IDENTIFIERS="yes"
+[ -n "$FIXED_DISK_IDENTIFIERS" ] || FIXED_DISK_IDENTIFIERS="no"
 [ -n "$FORCE" ] || FORCE=''
 [ -n "$HOSTNAME" ] || HOSTNAME='grml'
 [ -n "$INITRD" ] || INITRD='yes'
 [ -n "$FORCE" ] || FORCE=''
 [ -n "$HOSTNAME" ] || HOSTNAME='grml'
 [ -n "$INITRD" ] || INITRD='yes'