summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-10-09 00:24:11 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:05 +0100
commit72a19f689e43318589a7c2614848778a59629b76 (patch)
tree404f688c378f9a7281c742e8bafee70126be2f00 /hooks
parent7340552de6a8e238e54582722ccf7b74d12a212b (diff)
downloadlive-boot-72a19f689e43318589a7c2614848778a59629b76.tar.gz
live-boot-72a19f689e43318589a7c2614848778a59629b76.zip
Merging casper 1.108.
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/live6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/live b/hooks/live
index a59fe3b..e692690 100755
--- a/hooks/live
+++ b/hooks/live
@@ -120,3 +120,9 @@ if [ -x /usr/bin/wget ]
then
copy_exec /usr/bin/wget /bin
fi
+
+if [ "$CASPER_GENERATE_UUID" ]; then
+ # Unique ID
+ mkdir -p $DESTDIR/conf
+ uuidgen -r > $DESTDIR/conf/uuid.conf
+fi