dd icon indicating copy to clipboard operation
dd copied to clipboard

centos7安装报错

Open sjkhsl opened this issue 4 years ago • 1 comments

Malformed IP address The value you provided is not a usable IPv4 or IPv6 address. Please │
│ consult your network administrator and try again.

sjkhsl avatar Feb 05 '22 13:02 sjkhsl

这个问题似乎是自动安装脚本里获取ip的代码错误引起的 MAINIP=$(ip route get 1 | awk '{print $NF;exit}') 因此需要重新指定ip地址,网关,子网掩码。我使用以下命令安装了centos7,ssh密码是Pwd@CentOS

wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/InstallNET.sh && chmod +x InstallNET.sh && ./InstallNET.sh --ip-addr ip地址 --ip-gate 网关 --ip-mask 子网掩码 -dd 'https://api.moetools.net/get/centos-7-image'

1723389557 avatar Mar 31 '22 01:03 1723389557