mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix(tf): work around provider bugs
This commit is contained in:
parent
c61220b641
commit
d94e7e9f7b
3 changed files with 10 additions and 9 deletions
|
|
@ -116,7 +116,7 @@
|
|||
};
|
||||
};
|
||||
confInternal = {
|
||||
name = mkAlmostOptionDefault "eth9";
|
||||
name = mkIf system.proxmox.container.enable (mkAlmostOptionDefault "eth9");
|
||||
bridge = mkAlmostOptionDefault "vmbr9";
|
||||
address4 = mkAlmostOptionDefault "10.9.1.${toString (system.proxmox.vm.id - internalOffset)}/24";
|
||||
address6 = mkAlmostOptionDefault "fd0c::${toHexString (system.proxmox.vm.id - internalOffset)}/64";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue