Merge lp:~vtapia/livecd-rootfs/xenial-proposed-lp1444992

core-include-dmsetup
Steve Langasek 7 years ago
commit 2b208d7287

9
debian/changelog vendored

@ -1,3 +1,12 @@
livecd-rootfs (2.408.19) xenial; urgency=medium
[ 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).
-- Victor Tapia <victor.tapia@canonical.com> Tue, 19 Sep 2017 10:55:11 +0200
livecd-rootfs (2.408.18) xenial; urgency=medium
[ Robert C Jennings ]

@ -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