File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 9696 message = "VM '${ vmName } ' cannot override 'name'" ;
9797 }
9898
99- {
100- # Only the host can override the bridge nic name
101- assertion = ( "${ vmName } " == "ghaf-host" ) || ( ( vmAttr . bridgeNicName or null ) == null ) ;
102- message = "VM '${ vmName } ' cannot override 'bridgeNicName'" ;
103- }
99+ # {
100+ # # Only the host can override the bridge nic name
101+ # assertion = ("${vmName}" == "ghaf-host") || ((vmAttr.bridgeNicName or null) == null);
102+ # message = "VM '${vmName}' cannot override 'bridgeNicName'";
103+ # }
104104
105- {
106- # Only the host cannot override the internal nic name and mac address
107- assertion =
108- if vmName == "ghaf-host" then ( vmAttr . interfaceName == null && vmAttr . mac == null ) else true ;
109- message = "VM '${ vmName } ' cannot override 'interfaceName' or 'mac'" ;
110- }
105+ # {
106+ # # Only the host cannot override the internal nic name and mac address
107+ # assertion =
108+ # if vmName == "ghaf-host" then (vmAttr.interfaceName == null && vmAttr.mac == null) else true;
109+ # message = "VM '${vmName}' cannot override 'interfaceName' or 'mac'";
110+ # }
111111 ]
112112 ) ( builtins . attrNames config . ghaf . common . extraNetworking . hosts )
113113 ) ;
You can’t perform that action at this time.
0 commit comments