From 614a64229ee594bd65ebf59fc5191ec22cb8ee07 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Sat, 23 Sep 2023 14:49:11 +0330 Subject: [PATCH] fix(node/fl): manual net conf --- cloud/classic/prepare-node/config/fl/net.conf | 19 +++++++++++++++++++ .../prepare-node/config/fl/resolv.conf | 3 ++- .../classic/prepare-node/config/mci1/net.conf | 1 - .../classic/prepare-node/config/mci2/net.conf | 1 - 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 cloud/classic/prepare-node/config/fl/net.conf diff --git a/cloud/classic/prepare-node/config/fl/net.conf b/cloud/classic/prepare-node/config/fl/net.conf new file mode 100644 index 000000000..0b59d8052 --- /dev/null +++ b/cloud/classic/prepare-node/config/fl/net.conf @@ -0,0 +1,19 @@ +# Do not include interfaces.d directory by default +# source /etc/network/interfaces.d/* + +auto lo +iface lo inet loopback + +auto eth0 +# iface eth0 inet dhcp +iface eth0 inet static + address 95.217.15.28 + netmask 255.255.255.255 + gateway 172.31.1.1 + dns-nameservers 185.12.64.1 8.8.8.8 + +# control-alias eth0 +# iface eth0 inet6 static +# address 2a01:4f9:c010:c892::1/64 +# dns-nameservers 2a01:4ff:ff00::add:1 2a01:4ff:ff00::add:2 +# gateway fe80::1 diff --git a/cloud/classic/prepare-node/config/fl/resolv.conf b/cloud/classic/prepare-node/config/fl/resolv.conf index 9f91dec22..9d3cdbb31 100644 --- a/cloud/classic/prepare-node/config/fl/resolv.conf +++ b/cloud/classic/prepare-node/config/fl/resolv.conf @@ -1,3 +1,4 @@ +nameserver 185.12.64.1 +nameserver 8.8.8.8 nameserver 2a01:4ff:ff00::add:2 nameserver 2a01:4ff:ff00::add:1 -nameserver 185.12.64.1 diff --git a/cloud/classic/prepare-node/config/mci1/net.conf b/cloud/classic/prepare-node/config/mci1/net.conf index ac59fac1e..273bd057a 100644 --- a/cloud/classic/prepare-node/config/mci1/net.conf +++ b/cloud/classic/prepare-node/config/mci1/net.conf @@ -2,7 +2,6 @@ auto lo iface lo inet loopback auto ens192 - iface ens192 inet static address 185.173.107.203 netmask 255.255.255.0 diff --git a/cloud/classic/prepare-node/config/mci2/net.conf b/cloud/classic/prepare-node/config/mci2/net.conf index 0d2560d4b..f8614af5d 100644 --- a/cloud/classic/prepare-node/config/mci2/net.conf +++ b/cloud/classic/prepare-node/config/mci2/net.conf @@ -2,7 +2,6 @@ auto lo iface lo inet loopback auto ens192 - iface ens192 inet static address 95.81.93.170 netmask 255.255.255.0