我想在maas用curtin预置做nic键合。我试过.
vi /etc/maas/preseeds/curtin_userdata_ubuntu_amd64_generic_xenial
debconf_selections:
maas: |
{{for line in str(curtin_preseed).splitlines()}}
{{line}}
{{endfor}}
early_commands:
................................
network:
version: 1
config:
- id: enp130s0f0
mac_address: xxxxxxxxxxxxxxxxx
mtu: 1500
name: enp130s0f0
subnets:
- type: manual
type: physical
- id: enp131s0f0
mac_address: xxxxxxxxxxxxxxxxx
mtu: 1500
name: enp131s0f0
subnets:
- type: manual
type: physical
- bond_interfaces:
- enp130s0f0
- enp131s0f0
id: bond0
mac_address: xxxxxxxxxxxxxxxxx
mtu: 1500
name: bond0
params:
bond-mode: active-backup
subnets:
- address: 192.168.2.10/24
type: manual
type: bond
................................结果:无错误,无粘结。在/etc/cloud/cloud.cfg.d/50-curtin-networking.cfg中不存在债券配置
如何在maas中使用curtin进行nic键合?谢谢。
发布于 2018-02-14 18:46:25
MAAS已经支持配置债券。您不需要发送定制的curtin预置信息,您可以在MAAS中完成您想要的配置,它将自动为您处理这一切。
尽管如此,请确保您使用的是最新支持的MAAS (2.3)版本和最新的映像。
https://askubuntu.com/questions/1000950
复制相似问题