fix: ensure networking remains good pat2
This commit is contained in:
parent
02dd11c8b4
commit
440ad7d209
3 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ in {
|
|||
# this has to be defined for any physical servers
|
||||
# vms are defined by teh vm host
|
||||
networking = {
|
||||
defaultGateway.interface = lib.mkDefault "eno1";
|
||||
defaultGateway.interface = lib.mkForce "eno1";
|
||||
interfaces.eno1.ipv4.addresses = [
|
||||
{
|
||||
address = ip_pub;
|
||||
|
|
|
@ -27,7 +27,7 @@ in {
|
|||
# this has to be defined for any physical servers
|
||||
# vms are defined by teh vm host
|
||||
networking = {
|
||||
defaultGateway.interface = lib.mkDefault "eno1";
|
||||
defaultGateway.interface = lib.mkForce "eno1";
|
||||
interfaces.eno1.ipv4.addresses = [
|
||||
{
|
||||
address = ip_pub;
|
||||
|
|
|
@ -36,7 +36,7 @@ in {
|
|||
networking = {
|
||||
# needs to have an address statically assigned
|
||||
|
||||
defaultGateway.interface = lib.mkDefault "eno1";
|
||||
defaultGateway.interface = lib.mkForce "eno1";
|
||||
interfaces.eno1.ipv4.addresses = [
|
||||
{
|
||||
address = "193.1.99.120";
|
||||
|
|
Loading…
Reference in a new issue