pve-installer/proxmox-tui-installer
Christoph Heiss b9c06cb119 common: options: allow user-supplied domain for network options
Add an optional parameter to allow specifying a domain, which will take
precedence over both the DHCP-supplied domain (if any) and the hardcoded
default domain.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
2025-04-04 17:54:19 +02:00
..
src common: options: allow user-supplied domain for network options 2025-04-04 17:54:19 +02:00
Cargo.toml tui, common: move network option tests to correct crate 2025-04-04 17:17:35 +02:00
README.md tui: add README describing some debugging specifics 2023-06-14 10:39:56 +02:00

proxmox-tui-installer

Testing/debugging

stderr redirection

If something needs to be printed for debugging (e.g. using eprintln!() or dbg!()), output redirection can be used. Open a second terminal and get the file name of the terminal using the tty command:

$ tty
/dev/pts/6

Now, simply run the installer using:

$ cargo run 2>/dev/pts/6

All stderr output will then show up in the other terminal.

Specific terminal size

To test the installer with a specific output size, the stty command can be used. For example, to set it to a standard 80x25 terminal:

$ stty columns 80 rows 25