Currently the TUI installer reads the value for the DNS server from the field for the gateway.
Signed-off-by: Stefan Hanreich <s.hanre...@proxmox.com> --- proxmox-tui-installer/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-tui-installer/src/main.rs b/proxmox-tui-installer/src/main.rs index 510807a..77818e7 100644 --- a/proxmox-tui-installer/src/main.rs +++ b/proxmox-tui-installer/src/main.rs @@ -540,7 +540,7 @@ fn network_dialog(siv: &mut Cursive) -> InstallerView { .map_err(|err| err.to_string())?; let dns_server = view - .get_value::<EditView, _>(3) + .get_value::<EditView, _>(4) .ok_or("failed to retrieve DNS server address")? .parse::<IpAddr>() .map_err(|err| err.to_string())?; -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel