diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-03-16 15:43:27 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-03-16 15:43:27 -0600 |
commit | de34dc7c467b318b2d04d065f8d752c7a530e155 (patch) | |
tree | 768e0401dcdb4d6c428b516abe853bfbd8a3086a /tools/ds-identify | |
parent | 7ce839f846de705980839f9c7851bd0fd7353aad (diff) | |
download | vyos-cloud-init-de34dc7c467b318b2d04d065f8d752c7a530e155.tar.gz vyos-cloud-init-de34dc7c467b318b2d04d065f8d752c7a530e155.zip |
net: recognize iscsi root cases without ip= on kernel command line.
When 'ip=' or 'ip6=' is found on the kernel command line,
cloud-init will consider read network config from /run/net-*.conf files.
There are some iscsi-root scenarios where initramfs configures networking
but the ip= parameter is not present. 2 such cases are:
a.) static config in /etc/iscsi/iscsi.initramfs (copied into the
initramfs)
b.) iBft
This changes cloud-init to consider initramfs provided networking
information if:
* there are /run/net-* files and
* (ip= or ip6 is on the command line) or open-iscsi.interface file
exists.
LP: #1752391
Diffstat (limited to 'tools/ds-identify')
0 files changed, 0 insertions, 0 deletions