2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

add type bond (#1827)

This commit is contained in:
Yuan Bai 2016-09-13 16:45:34 +08:00 committed by yangsong
parent d78599ad18
commit 4e96588717

View File

@ -195,6 +195,7 @@ IPADDR=${str_bond_ip}
NETMASK=${str_bond_mask}
ONBOOT=yes
USERCTL=no
TYPE=Bond
BONDING_OPTS="${array_bond_opts[*]}"
EOF
@ -217,6 +218,7 @@ elif [ "$str_os_type" = "sles" ];then
NAME='Bonded Interface'
BOOTPROTO=static
BONDING_MASTER=yes
TYPE=Bond
IPADDR=${str_bond_ip}
NETMASK=${str_bond_mask}
STARTMODE=onboot