Ubuntu 远程激活debian安装程序中的网络控制台
我正在尝试远程安装服务器机架。在安装过程中,我的preseed似乎挂在物理服务器上,因此我尝试激活debian安装程序的网络控制台,如前所述。 由于我的IP地址是在dhcp服务器中静态定义的,因此我跳过了网络接口的静态分配,因此我的呈现代码如下所示:Ubuntu 远程激活debian安装程序中的网络控制台,ubuntu,ssh,installation,debian,Ubuntu,Ssh,Installation,Debian,我正在尝试远程安装服务器机架。在安装过程中,我的preseed似乎挂在物理服务器上,因此我尝试激活debian安装程序的网络控制台,如前所述。 由于我的IP地址是在dhcp服务器中静态定义的,因此我跳过了网络接口的静态分配,因此我的呈现代码如下所示: d-i preseed/early_command string anna-install network-console d-i network-console/password passwor
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
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远程安装”
我的问题是:我可以简单地通过输入'continue',使用debian installer preseed命令来确认这条消息吗
对我来说,只通过物理访问来确认远程访问机器似乎有点奇怪。(当然,我知道这个确认的安全方面,但它不是很方便)通过简单地添加
d-i network-console/start select continue
到呈现的文件,这将导致debian安装程序在network console的开始模板中选择continue按钮。
我的最后一个预编片段如下所示:
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
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登录到我的安装机器,而无需进行物理交互