$ cat /etc/network/interfaces.d/50-cloud-init.cfg
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
auto lo
iface lo inet loopback
$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
Testing on bionic with above ppa:
$ dpkg -l |grep open-iscsi 5ubuntu2. 4+test1806777v2 0181205b2 amd64 iSCSI initiator tools
ii open-iscsi 2.0.874-
$ cat /etc/network/ interfaces. d/50-cloud- init.cfg cloud.cfg. d/99-disable- network- config. cfg with the following:
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/
# network: {config: disabled}
auto lo
iface lo inet loopback
# control-manual ens3f0 oraclevcn. com
iface ens3f0 inet dhcp
broadcast 10.0.0.255
dns-nameservers 169.254.169.254
dns-search default.
gateway 10.0.0.1
$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 169.254.169.254 oraclevcn. com
nameserver 127.0.0.53
search default.