interfaces_file - fixed dup options bug (#3862) (#3865)

* interfaces_file - fixed dup options bug

* added changelog fragment

(cherry picked from commit 3dd5b0d343)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2021-12-08 05:54:44 +00:00 committed by GitHub
commit 53480b25c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 1 deletions

View file

@ -0,0 +1,7 @@
iface eth0 inet static
address 1.2.3.4
netmask 255.255.255.0
gateway 1.2.3.1
up route add -net 1.2.3.4 netmask 255.255.255.0 gw 1.2.3.1 eth0
up ip addr add 4.3.2.1/32 dev eth0
down ip addr add 4.3.2.1/32 dev eth0