The following conditions must currently be met for cloud-init to detect iSCSI root (symbols are in cloudinit.net.cmdline unless otherwise specified):
* _get_klibc_net_cfg_files() must return something; it's implementation is: return glob.glob('/run/net-*.conf') + glob.glob('/run/net6-*.conf')
AND one of
* 'ip=' in self._cmdline or 'ip6=' in self._cmdline (where self._cmdline is the kernel cmdline) * /run/initramfs/open-iscsi.interface exists
The following conditions must currently be met for cloud-init to detect iSCSI root (symbols are in cloudinit. net.cmdline unless otherwise specified):
* _get_klibc_ net_cfg_ files() must return something; it's implementation is: return glob.glob( '/run/net- *.conf' ) + glob.glob( '/run/net6- *.conf' )
AND one of
* 'ip=' in self._cmdline or 'ip6=' in self._cmdline (where self._cmdline is the kernel cmdline) open-iscsi. interface exists
* /run/initramfs/