mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-14 22:58:23 +00:00
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).
This commit is contained in:
parent
7fc1da1513
commit
404e524013
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,5 +1,6 @@
|
||||
livecd-rootfs (2.440) UNRELEASED; urgency=medium
|
||||
|
||||
[ Steve Langasek ]
|
||||
* live-build/ubuntu-cpc/functions: don't call sleep as part of
|
||||
umount_settle; udevadm settle is synchronous and there's no reason to
|
||||
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
|
||||
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
|
||||
|
||||
|
9
live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot
Executable file
9
live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot
Executable file
@ -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…
x
Reference in New Issue
Block a user