match on mac
This commit is contained in:
parent
a5aa8962ef
commit
11a77d4d25
6 changed files with 6 additions and 7 deletions
|
@ -28,7 +28,7 @@
|
||||||
interfaces = [{
|
interfaces = [{
|
||||||
type = "tap";
|
type = "tap";
|
||||||
id = "vm-music";
|
id = "vm-music";
|
||||||
mac = "EA:40:E8:60:C5:37";
|
mac = "02:00:00:00:00:01";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networks."111-host" = {
|
networks."111-host" = {
|
||||||
matchConfig.Name = "enp0s8";
|
matchconfig.MACAddress = "02:00:00:00:00:01";
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
Address = "10.99.99.101/24";
|
Address = "10.99.99.101/24";
|
||||||
};
|
};
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
interfaces = [{
|
interfaces = [{
|
||||||
type = "tap";
|
type = "tap";
|
||||||
id = "vm-news";
|
id = "vm-news";
|
||||||
mac = "EA:40:E8:60:C5:38";
|
mac = "02:00:00:00:00:02";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networks."111-host" = {
|
networks."111-host" = {
|
||||||
matchConfig.Name = "enp0s8";
|
matchConfig.MACAddress = (builtins.elemAt config.microvm.interfaces 0).mac;
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
Address = "10.99.99.102/24";
|
Address = "10.99.99.102/24";
|
||||||
};
|
};
|
||||||
|
|
|
@ -70,7 +70,6 @@
|
||||||
adminuser = "admin";
|
adminuser = "admin";
|
||||||
adminpassFile = config.sops.secrets."nextcloud/adminpass".path;
|
adminpassFile = config.sops.secrets."nextcloud/adminpass".path;
|
||||||
};
|
};
|
||||||
enableBrokenCiphersForSSE = false;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."nextcloud-setup" = {
|
systemd.services."nextcloud-setup" = {
|
||||||
|
@ -104,7 +103,7 @@
|
||||||
interfaces = [{
|
interfaces = [{
|
||||||
type = "tap";
|
type = "tap";
|
||||||
id = "vm-nextcloud";
|
id = "vm-nextcloud";
|
||||||
mac = "EA:40:E8:60:C5:36";
|
mac = "02:00:00:00:00:00";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networks."111-host" = {
|
networks."111-host" = {
|
||||||
matchConfig.Name = "enp0s8";
|
matchConfig.MACAddress = "02:00:00:00:00:00";
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
Address = "10.99.99.100/24";
|
Address = "10.99.99.100/24";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue