match on mac
This commit is contained in:
parent
a5aa8962ef
commit
11a77d4d25
6 changed files with 6 additions and 7 deletions
|
@ -27,7 +27,7 @@
|
|||
interfaces = [{
|
||||
type = "tap";
|
||||
id = "vm-news";
|
||||
mac = "EA:40:E8:60:C5:38";
|
||||
mac = "02:00:00:00:00:02";
|
||||
}];
|
||||
};
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
};
|
||||
|
||||
networks."111-host" = {
|
||||
matchConfig.Name = "enp0s8";
|
||||
matchConfig.MACAddress = (builtins.elemAt config.microvm.interfaces 0).mac;
|
||||
networkConfig = {
|
||||
Address = "10.99.99.102/24";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue