mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 15:37:43 +08:00
core: 从windows安装linux云镜像,暂时跳过cloud-init网络配置,不然网络不通
This commit is contained in:
4
trans.sh
4
trans.sh
@ -589,6 +589,10 @@ create_cloud_init_network_config() {
|
|||||||
ci_file=$1
|
ci_file=$1
|
||||||
|
|
||||||
get_netconf_to mac_addr
|
get_netconf_to mac_addr
|
||||||
|
|
||||||
|
# TODO: 没在windows下获取网络信息,先跳过cloud-init网络,不然网络不通
|
||||||
|
[ -z "$mac_addr" ] && return
|
||||||
|
|
||||||
get_netconf_to ipv4_addr
|
get_netconf_to ipv4_addr
|
||||||
get_netconf_to ipv4_gateway
|
get_netconf_to ipv4_gateway
|
||||||
get_netconf_to ipv6_addr
|
get_netconf_to ipv6_addr
|
||||||
|
|||||||
Reference in New Issue
Block a user