set static MAC for infra network
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
containers.podman.podman_network:
|
containers.podman.podman_network:
|
||||||
name: infra
|
name: infra
|
||||||
interface_name: br2
|
interface_name: br2
|
||||||
ipam_driver: "none"
|
ipam_driver: "dhcp"
|
||||||
disable_dns: "true"
|
disable_dns: "true"
|
||||||
opt:
|
opt:
|
||||||
mode: "unmanaged"
|
mode: "unmanaged"
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
restart_policy: "unless-stopped"
|
restart_policy: "unless-stopped"
|
||||||
hostname: homeassistant1
|
hostname: homeassistant1
|
||||||
network:
|
network:
|
||||||
- "infra:ip=10.2.5.1"
|
- "infra:mac=0a:a1:a2:9a:00:8c"
|
||||||
- iot
|
- iot
|
||||||
privileged: true
|
privileged: true
|
||||||
state: started
|
state: started
|
||||||
|
|||||||
Reference in New Issue
Block a user