diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-06-04 05:22:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-06-04 05:22:34 +0000 |
commit | 7ea67cf5f67c969c886171d3d36e060ccb5c6a2c (patch) | |
tree | 35a364d69cb3bb8e42ecb90e5e05ca56bd27bf42 /share/build-scripts/debconf | |
parent | Adding upstream version 20220522. (diff) | |
download | open-infrastructure-compute-tools-upstream/20220604.tar.xz open-infrastructure-compute-tools-upstream/20220604.zip |
Adding upstream version 20220604.upstream/20220604
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/build-scripts/debconf')
-rwxr-xr-x | share/build-scripts/debconf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/share/build-scripts/debconf b/share/build-scripts/debconf index 1689a79..168f985 100755 --- a/share/build-scripts/debconf +++ b/share/build-scripts/debconf @@ -880,6 +880,14 @@ EOF fi ;; + + stub) + +cat >> "${DIRECTORY}/etc/systemd/network/eno${NUMBER}.network" << EOF +DHCP=no +EOF + + ;; esac if [ -n "${IPV4_POST_UP}" ] @@ -950,6 +958,7 @@ EOF cat >> "${DIRECTORY}/etc/systemd/network/eno${NUMBER}.network" << EOF DHCP=no IPv6AcceptRA=no +LinkLocalAddressing=no Address=${IPV6_ADDRESS}/${IPV6_NETMASK} EOF @@ -962,6 +971,16 @@ EOF fi ;; + + stub) + +cat >> "${DIRECTORY}/etc/systemd/network/eno${NUMBER}.network" << EOF +DHCP=no +IPv6AcceptRA=no +LinkLocalAddressing=no +EOF + + ;; esac if [ -n "${IPV6_POST_UP}" ] |