Merge lp:~vtapia/livecd-rootfs/xenial-proposed-lp1444992 into lp:~ubuntu-core-dev/livecd-rootfs/xenial-proposed

Proposed by Victor Tapia
Status: Merged
Merged at revision: 1422
Proposed branch: lp:~vtapia/livecd-rootfs/xenial-proposed-lp1444992
Merge into: lp:~ubuntu-core-dev/livecd-rootfs/xenial-proposed
Diff against target: 30 lines (+18/-0)
2 files modified
debian/changelog (+9/-0)
live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot (+9/-0)
To merge this branch: bzr merge lp:~vtapia/livecd-rootfs/xenial-proposed-lp1444992
Reviewer Review Type Date Requested Status
Steve Langasek Pending
Review via email: mp+330970@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2017-09-14 05:10:29 +0000
3+++ debian/changelog 2017-09-19 09:26:46 +0000
4@@ -1,3 +1,12 @@
5+livecd-rootfs (2.408.19) xenial; urgency=medium
6+
7+ [ Nishanth Aravamudan ]
8+ * live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot: generate iSCSI
9+ Initiator Name at first iscsid run for cloud images to ensure it is
10+ unique (LP: #1444992).
11+
12+ -- Victor Tapia <victor.tapia@canonical.com> Tue, 19 Sep 2017 10:55:11 +0200
13+
14 livecd-rootfs (2.408.18) xenial; urgency=medium
15
16 [ Robert C Jennings ]
17
18=== added file 'live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot'
19--- live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot 1970-01-01 00:00:00 +0000
20+++ live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot 2017-09-19 09:26:46 +0000
21@@ -0,0 +1,9 @@
22+#!/bin/bash
23+#
24+# Set InitiatorName to be runtime generated when iscsid first starts, so
25+# that each cloud image gets a unique value
26+#
27+
28+if [ -f /etc/iscsi/initiatorname.iscsi ]; then
29+ echo "GenerateName=yes" > /etc/iscsi/initiatorname.iscsi
30+fi

Subscribers

People subscribed via source and target branches