2013-12-18 76 views
0

我试图远程安装服务器机架。我的预装版似乎在安装期间挂在物理服务器上,所以我试图按here所述激活debian-installer的网络控制台。 因为我的IP地址是在我的DHCP服务器定义的静态我跳过网络接口的静态分配,所以我的preseed代码看起来是这样的:远程激活debian安装程序中的网络控制台

d-i  preseed/early_command string anna-install network-console 
    d-i  network-console/password  password test 
    d-i  network-console/password-again password test 
    d-i  netcfg/get_nameservers string 
    d-i  netcfg/get_ipaddress string 
    d-i  netcfg/get_netmask  string 255.255.255.0 
    d-i  netcfg/get_gateway  string 

我的安装(在虚拟机上用于测试目的)结束在一条消息中提示“使用SSH远程继续安装”。

我的问题是:我可以通过使用debian-installer preseed命令输入'continue'来简单地确认此消息吗?

对我来说,看起来有点奇怪,只能通过物理访问来确认远程访问机器。 (当然我知道这个确认的安全问题,但它根本就不是非常方便)

回答

0

问题是解决了,通过简单地添加

d-i  network-console/start select continue 

到预置文件,这将导致debian-安装程序在网络控制台的启动模板中选择继续按钮。 我最后的preseed片段看起来是这样的:

d-i  preseed/early_command string anna-install network-console 
    d-i  network-console/password  password test 
    d-i  network-console/password-again password test 
    d-i  network-console/start select continue 
    d-i  netcfg/get_nameservers string 
    d-i  netcfg/get_ipaddress string 
    d-i  netcfg/get_netmask  string 255.255.255.0 
    d-i  netcfg/get_gateway  string 

,我可以通过ssh我安装计算机登录不考虑物理相互作用。

相关问题