live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot: generate iSCSI

Initiator Name at first iscsid run for cloud images to ensure it is
unique (LP: #1444992).
ubuntu/zesty
Nish Aravamudan 8 years ago
parent 7fc1da1513
commit 404e524013

8
debian/changelog vendored

@ -1,5 +1,6 @@
livecd-rootfs (2.440) UNRELEASED; urgency=medium livecd-rootfs (2.440) UNRELEASED; urgency=medium
[ Steve Langasek ]
* live-build/ubuntu-cpc/functions: don't call sleep as part of * live-build/ubuntu-cpc/functions: don't call sleep as part of
umount_settle; udevadm settle is synchronous and there's no reason to umount_settle; udevadm settle is synchronous and there's no reason to
sleep after it. sleep after it.
@ -7,7 +8,12 @@ livecd-rootfs (2.440) UNRELEASED; urgency=medium
umount_settle for each submount; just unmount them one by one and umount_settle for each submount; just unmount them one by one and
settle at the end. settle at the end.
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 08 Feb 2017 13:41:45 -0800 [ Nishanth Aravamudan ]
* live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot: generate iSCSI
Initiator Name at first iscsid run for cloud images to ensure it is
unique (LP: #1444992).
-- Nishanth Aravamudan <nish.aravamudan@canonical.com> Wed, 08 Feb 2017 18:08:24 -0800
livecd-rootfs (2.439) zesty; urgency=medium livecd-rootfs (2.439) zesty; urgency=medium

@ -0,0 +1,9 @@
#!/bin/bash
#
# Set InitiatorName to be runtime generated when iscsid first starts, so
# that each cloud image gets a unique value
#
if [ -f /etc/iscsi/initiatorname.iscsi ]; then
echo "GenerateName=yes" > /etc/iscsi/initiatorname.iscsi
fi
Loading…
Cancel
Save