You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
livecd-rootfs/live-build/ubuntu-cpc/hooks.d/chroot/061-open-iscsi.chroot

10 lines
245 B

#!/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